update 修改框架中批量接口,改为原生mybatis执行foreach,改善性能

This commit is contained in:
朱杰
2021-05-31 17:23:13 +08:00
committed by 疯狂的狮子li
parent 079dc12fe1
commit 90063ad03c
13 changed files with 98 additions and 17 deletions

View File

@ -30,4 +30,12 @@ public interface SysDeptMapper extends BaseMapperPlus<SysDept> {
*/
public List<Integer> selectDeptListByRoleId(@Param("roleId") Long roleId, @Param("deptCheckStrictly") boolean deptCheckStrictly);
/**
* 修改子元素关系
*
* @param depts 子元素
* @return 结果
*/
public int updateDeptChildren(@Param("depts") List<SysDept> depts);
}