Commit b2d98b97e0c68d7d6f6a0cb7b9741a74ccaabc6c
1 parent
b26376047d
Exists in
master
and in
6 other branches
导出修改
Showing 1 changed file with 13 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/HealthChargeFacade.java
View file @
b2d98b9
| ... | ... | @@ -318,6 +318,18 @@ |
| 318 | 318 | { |
| 319 | 319 | |
| 320 | 320 | try { |
| 321 | + | |
| 322 | + | |
| 323 | + ChargeRecordQuery chargeRecordQuery = new ChargeRecordQuery(); | |
| 324 | + chargeRecordQuery.setId(id); | |
| 325 | + | |
| 326 | + String time = ""; | |
| 327 | + List<ChargeRecordModel> chargeRecordModels = chargeRecordService.queryChargeRecordList(chargeRecordQuery); | |
| 328 | + if (CollectionUtils.isNotEmpty(chargeRecordModels)) | |
| 329 | + { | |
| 330 | + time = DateUtil.getyyyy_MM_dd(chargeRecordModels.get(0).getCreated()); | |
| 331 | + } | |
| 332 | + | |
| 321 | 333 | List<Map<String, Object>> listData = new ArrayList<>(); |
| 322 | 334 | HealthChargeQuery healthChargeQuery = new HealthChargeQuery(); |
| 323 | 335 | healthChargeQuery.setChargeRecordId(id); |
| ... | ... | @@ -327,6 +339,7 @@ |
| 327 | 339 | for (HealthChargeModel model : list) |
| 328 | 340 | { |
| 329 | 341 | Map map = getData(model); |
| 342 | + map.put("time",time); | |
| 330 | 343 | listData.add(map); |
| 331 | 344 | } |
| 332 | 345 | } |