48 lines
1.0 KiB
Plaintext
48 lines
1.0 KiB
Plaintext
package com.bonus.sys.dao;
|
|
|
|
import java.util.List;
|
|
|
|
import com.bonus.core.BonusBatis;
|
|
import com.bonus.sys.BaseDao;
|
|
import com.bonus.sys.beans.OrgBean;
|
|
import com.bonus.sys.beans.ZNode;
|
|
|
|
@BonusBatis
|
|
public interface OrgDao extends BaseDao<OrgBean>{
|
|
|
|
int deleteByPrimaryKey(Integer id);
|
|
|
|
int insertBean(OrgBean record);
|
|
|
|
int insertSelective(OrgBean record);
|
|
|
|
int insertOrg(OrgBean record);
|
|
|
|
int updateOrg(OrgBean record);
|
|
|
|
OrgBean selectByPrimaryKey(Integer id);
|
|
|
|
int updateByPrimaryKeySelective(OrgBean record);
|
|
|
|
int updateByPrimaryKey(OrgBean record);
|
|
|
|
List<OrgBean> findRepairGroup(OrgBean o);
|
|
|
|
List<OrgBean> getBackGroup();
|
|
|
|
List<OrgBean> findRepairGroupList();
|
|
|
|
int checkIsRepairDept(Integer id);
|
|
|
|
List<ZNode> getOrgTree();
|
|
|
|
OrgBean getLastChild(OrgBean org);
|
|
|
|
OrgBean findOrgById(OrgBean org);
|
|
|
|
List<OrgBean> checkNameIsExist(OrgBean o);
|
|
|
|
List<OrgBean> findOrgBySelect();
|
|
|
|
OrgBean findParentOrgById(String companyId);
|
|
} |