43 lines
804 B
Plaintext
43 lines
804 B
Plaintext
|
|
package com.bonus.sys.service;
|
||
|
|
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
import com.bonus.sys.BaseService;
|
||
|
|
import com.bonus.sys.beans.OrgBean;
|
||
|
|
import com.bonus.sys.beans.ZNode;
|
||
|
|
|
||
|
|
public interface OrgService extends BaseService<OrgBean> {
|
||
|
|
|
||
|
|
int delete(Integer id);
|
||
|
|
|
||
|
|
int insertOrgBean(OrgBean record);
|
||
|
|
|
||
|
|
int updateOrgBean(OrgBean record);
|
||
|
|
|
||
|
|
List<OrgBean> findRepairGroup(OrgBean o);
|
||
|
|
|
||
|
|
List<OrgBean> getBackGroup();
|
||
|
|
|
||
|
|
Integer checkIsReportDept(Integer orgId);
|
||
|
|
|
||
|
|
List<OrgBean> findRepairGroupList();
|
||
|
|
|
||
|
|
List<ZNode> getOrgTree();
|
||
|
|
|
||
|
|
String getNextCode(OrgBean org);
|
||
|
|
|
||
|
|
OrgBean findOrgById(OrgBean org);
|
||
|
|
|
||
|
|
List<OrgBean> checkNameIsExist(OrgBean o);
|
||
|
|
|
||
|
|
int addOrg(OrgBean o);
|
||
|
|
|
||
|
|
int updateOrg(OrgBean o);
|
||
|
|
|
||
|
|
List<OrgBean> findOrgBySelect();
|
||
|
|
|
||
|
|
|
||
|
|
OrgBean findParentOrgById(String companyId);
|
||
|
|
|
||
|
|
}
|