Commit 8dd62bba66951ac86a0fc6affed4431cc4427a32
1 parent
fec694c4f5
Exists in
master
and in
6 other branches
bug修复
Showing 1 changed file with 4 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java
View file @
8dd62bb
| ... | ... | @@ -185,7 +185,7 @@ |
| 185 | 185 | public void exportCheck(String startDate, String endDate, Integer startWeek, Integer endWeek, Integer childBirth, Integer userId, HttpServletResponse resp) { |
| 186 | 186 | BaseObjectResponse rest = areaCountFacade(startDate, endDate, startWeek, endWeek, childBirth, userId); |
| 187 | 187 | Map<String, String> cnames = new LinkedHashMap<>(); |
| 188 | - cnames.put("desc", "产检人数"); | |
| 188 | + cnames.put("desc", "产检次数"); | |
| 189 | 189 | cnames.put("count", "总计"); |
| 190 | 190 | cnames.put("once", "1次"); |
| 191 | 191 | cnames.put("twice", "2次"); |
| ... | ... | @@ -243,7 +243,7 @@ |
| 243 | 243 | List<Map<String, Object>> grid = data.getGrid(); |
| 244 | 244 | for (Map<String, Object> map : grid) { |
| 245 | 245 | Map<String, Object> result = new LinkedHashMap<>(); |
| 246 | - result.put("id", map.get("id")); | |
| 246 | + result.put("id", Integer.valueOf(map.get("id").toString()) + 1); | |
| 247 | 247 | result.put("doctorName", map.get("doctorName")); |
| 248 | 248 | result.put("inspectTime", map.get("inspectTime")); |
| 249 | 249 | result.put("inspectPeople", map.get("inspectPeople")); |
| 250 | 250 | |
| ... | ... | @@ -286,7 +286,9 @@ |
| 286 | 286 | |
| 287 | 287 | List<Map<String,Object>> results = new ArrayList<>(); |
| 288 | 288 | List<Map<String, Object>> list = reportDao.findList(getDoctorInfoSql(startDate, endDate, childBirth, number, name, hospitalId, params), params); |
| 289 | + Integer id = 1; | |
| 289 | 290 | for (Map<String, Object> map : list) { |
| 291 | + map.put("id", id++); | |
| 290 | 292 | results.add(map); |
| 291 | 293 | } |
| 292 | 294 |