|
@@ -4,6 +4,7 @@ import com.google.common.collect.Lists;
|
|
|
import com.lantone.qc.pub.model.doc.DifficultCaseDiscussDoc;
|
|
|
import com.lantone.qc.pub.model.vo.MedrecVo;
|
|
|
import com.lantone.qc.pub.util.FastJsonUtils;
|
|
|
+import com.lantone.qc.pub.util.StringUtil;
|
|
|
import com.lantone.qc.trans.ModelDocTrans;
|
|
|
import com.lantone.qc.trans.comsis.ModelDocGenerate;
|
|
|
import com.lantone.qc.trans.comsis.OrdinaryAssistant;
|
|
@@ -46,6 +47,18 @@ public class XiamenDifficultCaseDiscussDocTrans extends ModelDocTrans {
|
|
|
structureMap = OrdinaryAssistant.mapKeyContrast(structureMap, keyContrasts, "19");
|
|
|
}
|
|
|
if (MapUtils.isNotEmpty(structureMap)) {
|
|
|
+ String speakMsg = "";
|
|
|
+ String speakKey = null,speakVal = null;
|
|
|
+ for (int i = 1; i < 20; i++) {
|
|
|
+ speakKey = "讨论发言|" + i;
|
|
|
+ speakVal = structureMap.get(speakKey);
|
|
|
+ if (StringUtil.isBlank(speakVal)) {
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ speakMsg += i + "、" + speakVal;
|
|
|
+ }
|
|
|
+ structureMap.put("讨论发言", speakMsg);
|
|
|
+
|
|
|
DifficultCaseDiscussDoc difficultCaseDiscussDoc = ModelDocGenerate.difficultCaseDiscussDocGen(structureMap);
|
|
|
difficultCaseDiscussDoc.setPageData((Map) structureMap);
|
|
|
return difficultCaseDiscussDoc;
|