Procházet zdrojové kódy

Merge remote-tracking branch 'origin/beilun/dev' into beilun/dev

fangqw před 4 roky
rodič
revize
c1953f4495

+ 6 - 0
trans/src/main/java/com/lantone/qc/trans/beilun/BeiLunOperationDocTrans.java

@@ -159,6 +159,12 @@ public class BeiLunOperationDocTrans extends ModelDocTrans {
         Map<String, String> structureMap = null;
         if (contentMap.get("isParsed") != null && "1".equals(contentMap.get("isParsed").toString())) {
             structureMap = (Map) FastJsonUtils.getJsonToMap(content);
+            if (structureMap.containsKey("麻醉人员")) {
+                structureMap.put("麻醉人员", structureMap.get("麻醉人员").replace("\n", "").replace("麻醉人员签名", ""));
+            }
+            if (structureMap.containsKey("接生者")) {
+                structureMap.put("接生者", structureMap.get("接生者").replace("\n", "").replace("接生者签名", ""));
+            }
         } else {
             String recTitle = contentMap.get("recTitle").toString();
             String recTypeId = contentMap.get("recTypeId").toString();