Commit 7e24a54f6f19da3e665c8872c1a5599fee8fc3a6

Authored by dongqin
1 parent 0acef125dd

修复bug

Showing 1 changed file with 4 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AreaCountFacade.java View file @ 7e24a54
... ... @@ -1184,6 +1184,7 @@
1184 1184 * @return
1185 1185 */
1186 1186 private List<Map<String, Object>> getServiceDetailListMap(ServiceListQuery param) {
  1187 + String need = param.getNeed();
1187 1188 List<Map<String, Object>> mapList = patientServiceService.getServeDetailList(param);
1188 1189 if (CollectionUtils.isNotEmpty(mapList)){
1189 1190 for (Map map : mapList){
... ... @@ -1251,6 +1252,9 @@
1251 1252 if (users != null){
1252 1253 operatorName = users.getName();
1253 1254 }
  1255 + }
  1256 + if (StringUtils.isEmpty(need)){
  1257 + map.put("createDate",DateUtil.getyyyy_MM_dd(createDate));
1254 1258 }
1255 1259 map.put("createUserName", createUserName);
1256 1260 map.put("operatorName", operatorName);