管道基础大数据平台系统开发-【后端】-Server
13693261870
2024-03-25 1c285b38777e9f37ee8d112e994443d3640b78c1
src/main/java/com/lf/server/service/sys/ReportService.java
@@ -251,7 +251,7 @@
    @Override
    public List<CountEntity> countVariousDataByPrj(String code) {
        code = StringHelper.getRightLike(code);
        code = StringUtils.isEmpty(code) || "ALL".equals(code) ? null : StringHelper.getRightLike(code);
        return reportMapper.countVariousDataByPrj(code);
    }
@@ -354,7 +354,7 @@
        Map<String, String> textMap = new HashMap<>();
        if (!StringHelper.isEmpty(code)) {
            textMap.put("title", dirService.selectNameByCode(code));
            textMap.put("title", "ALL".equals(code) ? "所有项目" : dirService.selectNameByCode(code));
            list.remove(list.size() - 1);
        }
@@ -408,7 +408,7 @@
        Map<String, Object> map = new HashMap<>();
        if (!StringHelper.isEmpty(code)) {
            map.put("title", dirService.selectNameByCode(code));
            map.put("title", "ALL".equals(code) ? "所有项目" : dirService.selectNameByCode(code));
            list.remove(list.size() - 1);
            for (CountEntity ce : list) {
                ce.setM2("count".equals(ce.getM2()) ? ce.getCount() + "个" : ("area".equals(ce.getM2()) ? ce.getM3() : ce.getLen() + "千米"));