Commit f4804954c12494d107e869beb7a68e18b477c40c

Authored by dongqin
1 parent f6fc2c3e21

新增增值服务统计模块

Showing 1 changed file with 3 additions and 3 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AreaCountFacade.java View file @ f480495
... ... @@ -1161,7 +1161,7 @@
1161 1161 String parentId = map.get("parentId").toString();
1162 1162 String perType = map.get("perType").toString();
1163 1163 String serType = map.get("serType").toString();
1164   - String serDoct = map.get("serDoct").toString();
  1164 + Object serDoct = map.get("serDoct");
1165 1165 Date createDate = (Date) map.get("createDate");
1166 1166 String userName;
1167 1167 if ("1".equals(perType)){
... ... @@ -1183,8 +1183,8 @@
1183 1183 String serTypeName = getSerTypeName(serType);
1184 1184 map.put("serTypeName", serTypeName);
1185 1185 String doctorName = "";
1186   - if (StringUtils.isNotEmpty(serDoct)){
1187   - doctorName = usersService.getUsers(Integer.parseInt(serDoct)).getName();
  1186 + if (serDoct != null){
  1187 + doctorName = usersService.getUsers(Integer.parseInt(serDoct.toString())).getName();
1188 1188 }
1189 1189  
1190 1190 map.put("doctorName", doctorName);