Commit 860b10b9e8be731e60d59e1fffa229c3d1557470
1 parent
ab9d5449ad
Exists in
master
and in
6 other branches
威海分娩增加字段(双击查看详情)
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 @
860b10b
... | ... | @@ -2643,8 +2643,12 @@ |
2643 | 2643 | //胎盘信息 |
2644 | 2644 | List<Map<String, Object>> ExtPlacentaList = new ArrayList<>(); |
2645 | 2645 | |
2646 | + //存放胎盘大小集合,便于前端打印计算使用 | |
2647 | + List<Map<String,Object>> tpSizeList = new ArrayList<>(); | |
2648 | + | |
2646 | 2649 | if (CollectionUtils.isNotEmpty(data.getExtPlacentas())) { |
2647 | 2650 | for (MaternalDeliverModel.ExtPlacenta temp : data.getExtPlacentas()) { |
2651 | + Map<String, Object> sizeMap = new HashMap<>(); | |
2648 | 2652 | Map<String, Object> extMap = new HashMap<>(); |
2649 | 2653 | String tpmcType = ""; |
2650 | 2654 | if (com.lyms.platform.common.utils.StringUtils.isNotEmpty(temp.getTpmcType())) { |
... | ... | @@ -2663,6 +2667,9 @@ |
2663 | 2667 | tpSize += temp.getTpSize().get("c") + UnitConstants.CM + "*" + temp.getTpSize().get("k") + UnitConstants.CM + "*" + temp.getTpSize().get("g") + UnitConstants.CM; |
2664 | 2668 | } |
2665 | 2669 | extMap.put("tpSize", tpSize); |
2670 | + sizeMap.put("c",temp.getTpSize().get("c")); | |
2671 | + sizeMap.put("k",temp.getTpSize().get("k")); | |
2672 | + sizeMap.put("g",temp.getTpSize().get("g")); | |
2666 | 2673 | extMap.put("tpWeight", UnitUtils.unitSplice(temp.getTpWeight(), UnitConstants.G)); |
2667 | 2674 | extMap.put("umbilicalCordLength", UnitUtils.unitSplice(temp.getUmbilicalCordLength(), UnitConstants.CM)); |
2668 | 2675 | |
2669 | 2676 | |
... | ... | @@ -2697,9 +2704,12 @@ |
2697 | 2704 | /****************************/ |
2698 | 2705 | |
2699 | 2706 | ExtPlacentaList.add(extMap); |
2707 | + tpSizeList.add(sizeMap); | |
2700 | 2708 | } |
2701 | 2709 | } |
2702 | 2710 | map.put("extPlacentas", ExtPlacentaList); |
2711 | + | |
2712 | + map.put("tpSizeList",tpSizeList); | |
2703 | 2713 | |
2704 | 2714 | //新生儿信息 |
2705 | 2715 |