diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java index 8aaed6b..7ecb1cd 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java @@ -2643,8 +2643,12 @@ public class ViewFacade { //胎盘信息 List> ExtPlacentaList = new ArrayList<>(); + //存放胎盘大小集合,便于前端打印计算使用 + List> tpSizeList = new ArrayList<>(); + if (CollectionUtils.isNotEmpty(data.getExtPlacentas())) { for (MaternalDeliverModel.ExtPlacenta temp : data.getExtPlacentas()) { + Map sizeMap = new HashMap<>(); Map extMap = new HashMap<>(); String tpmcType = ""; if (com.lyms.platform.common.utils.StringUtils.isNotEmpty(temp.getTpmcType())) { @@ -2663,6 +2667,9 @@ public class ViewFacade { tpSize += temp.getTpSize().get("c") + UnitConstants.CM + "*" + temp.getTpSize().get("k") + UnitConstants.CM + "*" + temp.getTpSize().get("g") + UnitConstants.CM; } extMap.put("tpSize", tpSize); + sizeMap.put("c",temp.getTpSize().get("c")); + sizeMap.put("k",temp.getTpSize().get("k")); + sizeMap.put("g",temp.getTpSize().get("g")); extMap.put("tpWeight", UnitUtils.unitSplice(temp.getTpWeight(), UnitConstants.G)); extMap.put("umbilicalCordLength", UnitUtils.unitSplice(temp.getUmbilicalCordLength(), UnitConstants.CM)); @@ -2697,10 +2704,13 @@ public class ViewFacade { /****************************/ ExtPlacentaList.add(extMap); + tpSizeList.add(sizeMap); } } map.put("extPlacentas", ExtPlacentaList); + map.put("tpSizeList",tpSizeList); + //新生儿信息 List> babyList = new ArrayList<>();