Compare commits

..

No commits in common. "7d82b523dc1e8dd93697ab5889fda812c60a1401" and "22b103c5a0e7f077efc43c47e720bdbf16f2f51e" have entirely different histories.

1 changed files with 1 additions and 4 deletions

View File

@ -2385,6 +2385,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
List<Map<String, Object>> lcDept = sysDeptDao.selectLCDeptByUcsDeptName(params.get("deptId").toString());
if (lcDept.isEmpty()) {
logger.error("未查询到{}对应的浪潮系统部门", params.get("deptId").toString());
// return new ArrayList<>();
} else {
StringBuilder sb = new StringBuilder("SELECT " +
" COUNT( BSNUM ) AS \"count\", " +
@ -2446,10 +2447,6 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
countMap.put(item.get("type").toString(), Integer.parseInt(item.get("count").toString()));
}
});
if (!cloud) {
map.put("yzy", "0");
map.put("ysp", "0");
}
resultList.add(map);
});
Integer total = 0;