1、WithMockLoginUserExtension补充isSuperAdmin的缺省false;2、dept service移除真实db,走纯mock;

This commit is contained in:
gaoqr
2026-01-21 10:28:43 +08:00
parent 6c48ec283c
commit f22f3bb2ba
3 changed files with 136 additions and 135 deletions
@@ -215,7 +215,7 @@ public class DeptServiceImpl implements DeptService {
if (CollUtil.isEmpty(ids)) {
return Collections.emptyList();
}
return deptMapper.selectBatchIds(ids);
return deptMapper.selectByIds(ids);
}
@Override