| | |
| | | |
| | | 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); |
| | | } |
| | | |
| | |
| | | |
| | | 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() + "千米")); |