修复部门树显示异常

This commit is contained in:
lyd
2022-09-30 17:20:40 +08:00
parent 7339fc11f0
commit 994803009d

View File

@@ -71,7 +71,7 @@ public class DeptServiceImpl implements DeptService {
// String dataScopeType = SecurityUtils.getDataScopeType();
if (isQuery) {
// if (dataScopeType.equals(DataScopeEnum.ALL.getValue())) {
// criteria.setPidIsNull(true);
criteria.setPidIsNull(true);
// }
List<Field> fields = QueryHelp.getAllFields(criteria.getClass(), new ArrayList<>());
List<String> fieldNames = new ArrayList<String>() {{