@Repository public interface BdDeptMapper extends BaseMapper<BdDept>
限定符和类型 | 方法和说明 |
---|---|
java.util.List<OrgDeptTreeNode> |
selectDeptTreeByOrgids(java.lang.String orgids,
java.lang.String rwids)
通过机构查询部门树
|
java.util.List<BdDept> |
selectListBdDept(java.util.Map<java.lang.String,java.lang.Object> params)
查找部门通过条件
|
java.lang.String |
selectMaxSortByOrgid(java.lang.String orgid)
查询子最大排序
|
int |
updateIsLeaf()
刷新所有的节点sys_isLeaf的值
|
deleteByPrimaryKey, insert, insertSelective, selectAll, selectByPrimaryKey, selectList, selectTotalCount, updateByPrimaryKey, updateByPrimaryKeySelective
java.lang.String selectMaxSortByOrgid(java.lang.String orgid)
orgid
- 机构idjava.util.List<BdDept> selectListBdDept(java.util.Map<java.lang.String,java.lang.Object> params)
params
- 参数mapjava.util.List<OrgDeptTreeNode> selectDeptTreeByOrgids(@Param(value="orgids") java.lang.String orgids, @Param(value="rwids") java.lang.String rwids)
orgids
- 机构idrwids
- rwidsint updateIsLeaf()