Commit 13df586198e11919fc2cb803ac00a9a543c082f4

Authored by jiangjiazhi
1 parent fb3dd6c5af

增加soureceid

Showing 1 changed file with 3 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java View file @ 13df586
... ... @@ -844,6 +844,7 @@
844 844 //历史建档记录
845 845 List<Map> list = new ArrayList<>();
846 846 List<BookbuildingRecordResult> results = new ArrayList<>();
  847 + String pid =null;
847 848 if (CollectionUtils.isNotEmpty(patients)) {
848 849  
849 850 for (Patients pat : patients) {
... ... @@ -862,6 +863,7 @@
862 863 result.setType(pat.getType());
863 864 result.setDueStatus(pat.getDueStatus());
864 865 result.setPid(pat.getPid());
  866 + pid=pat.getPid();
865 867 results.add(result);
866 868 }
867 869 }
... ... @@ -911,6 +913,7 @@
911 913 mapData.put("data", results);
912 914 // 是否在本医院所在区域建档
913 915 mapData.put("rBType", count > 0);
  916 + mapData.put("pid",pid);
914 917 mapData.put("initBuildDate", DateUtil.getyyyy_MM_dd(new Date()));
915 918 list.add(mapData);
916 919