This commit is contained in:
wangliwen 2023-01-10 10:05:13 +08:00
parent 40a8d4f525
commit 36fe1f08e2
1 changed files with 1 additions and 1 deletions

View File

@ -2385,7 +2385,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
List<Map<String, Object>> lcDept = sysDeptDao.selectLCDeptByUcsDeptName(params.get("deptId").toString()); List<Map<String, Object>> lcDept = sysDeptDao.selectLCDeptByUcsDeptName(params.get("deptId").toString());
if (lcDept.isEmpty()) { if (lcDept.isEmpty()) {
logger.error("未查询到{}对应的浪潮系统部门", params.get("deptId").toString()); logger.error("未查询到{}对应的浪潮系统部门", params.get("deptId").toString());
return new ArrayList<>(); // return new ArrayList<>();
} else { } else {
StringBuilder sb = new StringBuilder("SELECT " + StringBuilder sb = new StringBuilder("SELECT " +
" COUNT( BSNUM ) AS \"count\", " + " COUNT( BSNUM ) AS \"count\", " +