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

This commit is contained in:
朱杰
2021-05-31 17:23:13 +08:00
parent d7359122b4
commit 8ba346faa6
13 changed files with 98 additions and 17 deletions
@@ -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);
}