|
@@ -3,6 +3,7 @@ package com.lantone.qc.trans.beilun.util;
|
|
|
import com.google.common.collect.Lists;
|
|
|
import com.google.common.collect.Maps;
|
|
|
import com.lantone.qc.pub.util.FileUtil;
|
|
|
+import com.lantone.qc.pub.util.StringUtil;
|
|
|
import org.jsoup.Jsoup;
|
|
|
import org.jsoup.nodes.Element;
|
|
|
|
|
@@ -25,6 +26,15 @@ public class BeiLunOperationRecordHtmlAnalysis implements BeiLunHtmlAnalysis {
|
|
|
Element bigDivElement = Jsoup.parse(html).selectFirst("body").child(0);
|
|
|
analysisGeneral(bigDivElement, map);
|
|
|
BeiLunHtmlAnalysisUtil.mapValueRemoveStartColon(map);
|
|
|
+ if (map.containsKey("手术人员")) {
|
|
|
+ String operatingCrew = map.get("手术人员");
|
|
|
+ if (StringUtil.isNotBlank(operatingCrew)) {
|
|
|
+ CommonAnalysisUtil.cutByTitles(operatingCrew, Lists.newArrayList("主刀", "一助", "二助", "洗手护士"), 0, map);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ BeiLunHtmlAnalysisUtil.insertModuleId(recTypeId, map);
|
|
|
+ //找不到模板id,用默认标准模板
|
|
|
+ map.putIfAbsent("mode_id", "407");
|
|
|
return map;
|
|
|
}
|
|
|
|