kuyun_insert($params,''); } /** *查询科室单条信息 *@param array 查询条件 *@return array 科室信息 */ public function department_find($where){ return $this->kuyun_find($where,'',''); } /** *科室列表 *@param array 页码 *@param bull *@return array 所有科室的信息 */ public function department_list($page,$is_count){ return $this->kuyun_select('','','','','',$page,$is_count); } /** *编辑科室 *@param array 添加的数据 *@param array 条件 *@return int */ public function department_edit($data,$where){ return $this->kuyun_insert($data,$where); } /** *删除科室 *@param array 删除条件 *@return int 返回删除id */ public function department_delete($where){ return $this->kuyun_delete($where); } }