Commit ee58c00a2a4cfd5944ac4ea2af7ad23260a17576

Authored by zhangchao
1 parent b046c310b3
Exists in dev

#fix:优化建档页面产检医生查询问题

Showing 1 changed file with 10 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java View file @ ee58c00
... ... @@ -514,6 +514,16 @@
514 514 }
515 515 }
516 516 map.put("bookbuildingDoctor", bookbuildingDoctor);
  517 +
  518 + String lastCheckEmployeeId="";
  519 + if (StringUtils.isNotEmpty(data.getLastCheckEmployeeId()) && FunvCommonUtil.isNumeric(data.getLastCheckEmployeeId())) {
  520 + Users users = usersService.getUsers(Integer.parseInt(data.getLastCheckEmployeeId()));
  521 + if (users != null && users.getYn() == YnEnums.YES.getId()) {
  522 + lastCheckEmployeeId = users.getName();
  523 + }
  524 + }
  525 + map.put("lastCheckEmployeeId",lastCheckEmployeeId);
  526 +
517 527 //建档日期
518 528 map.put("bookbuildingDate", DateUtil.getyyyy_MM_dd(data.getBookbuildingDate()));
519 529