10f9f66b by sunchenjie

create:"文档产品代码"

1 parent e75138fb
...@@ -22,8 +22,8 @@ public enum ColDesc { ...@@ -22,8 +22,8 @@ public enum ColDesc {
22 COL_DOCTYPE("fileType", "文件识别类别(1=通用文件)"), 22 COL_DOCTYPE("fileType", "文件识别类别(1=通用文件)"),
23 COL_CERTIFICATE_TYPE("identityType", "证件类别(1=身份证信息面,2=身份证国徽面,3=执业证正面,4=执业正反面)"), 23 COL_CERTIFICATE_TYPE("identityType", "证件类别(1=身份证信息面,2=身份证国徽面,3=执业证正面,4=执业正反面)"),
24 COL_OCR("idcardOcrSwitch", "OCR开启(1=开启,2=关闭)"), 24 COL_OCR("idcardOcrSwitch", "OCR开启(1=开启,2=关闭)"),
25 COL_POPUP("popup", "文件弹出(1=开启,2=关闭)"); 25 COL_POPUP("popup", "文件弹出(1=开启,2=关闭)"),
26 26 COL_PRD_CODE("docPrdCode", "文档产品代码");
27 private String attr; 27 private String attr;
28 private String col; 28 private String col;
29 29
......
...@@ -107,6 +107,7 @@ public class PhaseUtil { ...@@ -107,6 +107,7 @@ public class PhaseUtil {
107 popup = Integer.parseInt(orgPhase.get(ColDesc.COL_POPUP.getCol())); 107 popup = Integer.parseInt(orgPhase.get(ColDesc.COL_POPUP.getCol()));
108 } catch (NumberFormatException e) { 108 } catch (NumberFormatException e) {
109 } 109 }
110 String prdCode = orgPhase.get(ColDesc.COL_PRD_CODE.getCol());
110 String ttsContent = orgPhase.get(ColDesc.COL_TTS.getCol()); 111 String ttsContent = orgPhase.get(ColDesc.COL_TTS.getCol());
111 String littlePhaseTitle = orgPhase.get(ColDesc.COL_HINT_TITLE.getCol()); 112 String littlePhaseTitle = orgPhase.get(ColDesc.COL_HINT_TITLE.getCol());
112 String sure = orgPhase.get(ColDesc.COL_SURE.getCol()); 113 String sure = orgPhase.get(ColDesc.COL_SURE.getCol());
...@@ -126,6 +127,7 @@ public class PhaseUtil { ...@@ -126,6 +127,7 @@ public class PhaseUtil {
126 .littlePhaseTitle(littlePhaseTitle) 127 .littlePhaseTitle(littlePhaseTitle)
127 .bindUnique("") 128 .bindUnique("")
128 .popup(popup) 129 .popup(popup)
130 .docPrdCode(prdCode)
129 .build(); 131 .build();
130 132
131 } 133 }
......
...@@ -54,6 +54,11 @@ public class SpeechLittlePhaseAddDTO { ...@@ -54,6 +54,11 @@ public class SpeechLittlePhaseAddDTO {
54 54
55 private Integer popup; 55 private Integer popup;
56 56
57 /**
58 * 弹出文档对应的product_code
59 */
60 private String docPrdCode;
61
57 public SpeechLittlePhaseEditDTO transToVO() { 62 public SpeechLittlePhaseEditDTO transToVO() {
58 return SpeechLittlePhaseEditDTO.builder().hintNum(this.littlePhaseSerialNum).hintName(this.littlePhaseName) 63 return SpeechLittlePhaseEditDTO.builder().hintNum(this.littlePhaseSerialNum).hintName(this.littlePhaseName)
59 .hintTitle(this.littlePhaseTitle).tts(this.ttsContent).condition(getConditionMap()).hintType(getHintType()) 64 .hintTitle(this.littlePhaseTitle).tts(this.ttsContent).condition(getConditionMap()).hintType(getHintType())
...@@ -83,6 +88,7 @@ public class SpeechLittlePhaseAddDTO { ...@@ -83,6 +88,7 @@ public class SpeechLittlePhaseAddDTO {
83 } else if (this.phaseType == 3) { 88 } else if (this.phaseType == 3) {
84 hintTypeMap.put("docType", this.fileType); 89 hintTypeMap.put("docType", this.fileType);
85 hintTypeMap.put("popup",this.popup); 90 hintTypeMap.put("popup",this.popup);
91 hintTypeMap.put("docPrdCode",this.docPrdCode);
86 } else if (this.phaseType == 4) { 92 } else if (this.phaseType == 4) {
87 hintTypeMap.put("certificateType", this.identityType); 93 hintTypeMap.put("certificateType", this.identityType);
88 if (this.identityType == 1 || this.identityType == 2) { 94 if (this.identityType == 1 || this.identityType == 2) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!