Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-07-21 17:30:31 +08:00
commit f41ef8a3ba
2 changed files with 4 additions and 6 deletions

View File

@ -533,11 +533,11 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
public Object selectTotal() { public Object selectTotal() {
HashMap<String, Object> resultMap = new HashMap<>(); HashMap<String, Object> resultMap = new HashMap<>();
List<Map> re = resourceDao.selectTypeCount(null); List<Map> re = resourceDao.selectTypeCount(null);
//2022-07-05,ytl修改 start /*//2022-07-05,ytl修改 start
re.removeIf(r -> { re.removeIf(r -> {
return org.apache.commons.lang3.StringUtils.equals(r.get("type").toString(), "基础设施"); return org.apache.commons.lang3.StringUtils.equals(r.get("type").toString(), "基础设施");
}); });
//2022-07-05,ytl修改 end //2022-07-05,ytl修改 end*/
switch (Constant.ProjectPlace.getByFlag(projectPlace)) { switch (Constant.ProjectPlace.getByFlag(projectPlace)) {
case TSINGTAO_XHA: { // 青岛西海岸 case TSINGTAO_XHA: { // 青岛西海岸
CompletableFuture allAmount = CompletableFuture.supplyAsync(() -> { // 获取平台总基础设施数目 CompletableFuture allAmount = CompletableFuture.supplyAsync(() -> { // 获取平台总基础设施数目

View File

@ -536,11 +536,9 @@
<select id="countAllDept" resultType="java.lang.Long"> <select id="countAllDept" resultType="java.lang.Long">
SELECT SELECT
COUNT( DISTINCT dept_id ) COUNT(id)
FROM FROM
tb_data_resource sys_dept
WHERE
del_flag = 0
</select> </select>
<select id="selectGroupByDeptId" resultType="java.util.Map"> <select id="selectGroupByDeptId" resultType="java.util.Map">