mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-08 17:12:28 +08:00
[jeecg-boot/issues/3906] 逻辑判断有问题
This commit is contained in:
@ -57,7 +57,8 @@ public class SysUserDepartServiceImpl extends ServiceImpl<SysUserDepartMapper, S
|
||||
}
|
||||
queryDep.in(SysDepart::getId, depIdList);
|
||||
List<SysDepart> depList = sysDepartService.list(queryDep);
|
||||
if(depList != null || depList.size() > 0) {
|
||||
//[jeecg-boot/issues/3906] 逻辑判断有问题
|
||||
if(depList != null && depList.size() > 0) {
|
||||
for(SysDepart depart : depList) {
|
||||
depIdModelList.add(new DepartIdModel().convertByUserDepart(depart));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user