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{ 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 findRepairGroup(OrgBean o); List getBackGroup(); List findRepairGroupList(); int checkIsRepairDept(Integer id); List getOrgTree(); OrgBean getLastChild(OrgBean org); OrgBean findOrgById(OrgBean org); List checkNameIsExist(OrgBean o); List findOrgBySelect(); OrgBean findParentOrgById(String companyId); }