10f9f66b by sunchenjie

create:"文档产品代码"

1 parent e75138fb
......@@ -22,8 +22,8 @@ public enum ColDesc {
COL_DOCTYPE("fileType", "文件识别类别(1=通用文件)"),
COL_CERTIFICATE_TYPE("identityType", "证件类别(1=身份证信息面,2=身份证国徽面,3=执业证正面,4=执业正反面)"),
COL_OCR("idcardOcrSwitch", "OCR开启(1=开启,2=关闭)"),
COL_POPUP("popup", "文件弹出(1=开启,2=关闭)");
COL_POPUP("popup", "文件弹出(1=开启,2=关闭)"),
COL_PRD_CODE("docPrdCode", "文档产品代码");
private String attr;
private String col;
......
......@@ -107,6 +107,7 @@ public class PhaseUtil {
popup = Integer.parseInt(orgPhase.get(ColDesc.COL_POPUP.getCol()));
} catch (NumberFormatException e) {
}
String prdCode = orgPhase.get(ColDesc.COL_PRD_CODE.getCol());
String ttsContent = orgPhase.get(ColDesc.COL_TTS.getCol());
String littlePhaseTitle = orgPhase.get(ColDesc.COL_HINT_TITLE.getCol());
String sure = orgPhase.get(ColDesc.COL_SURE.getCol());
......@@ -126,6 +127,7 @@ public class PhaseUtil {
.littlePhaseTitle(littlePhaseTitle)
.bindUnique("")
.popup(popup)
.docPrdCode(prdCode)
.build();
}
......
......@@ -54,6 +54,11 @@ public class SpeechLittlePhaseAddDTO {
private Integer popup;
/**
* 弹出文档对应的product_code
*/
private String docPrdCode;
public SpeechLittlePhaseEditDTO transToVO() {
return SpeechLittlePhaseEditDTO.builder().hintNum(this.littlePhaseSerialNum).hintName(this.littlePhaseName)
.hintTitle(this.littlePhaseTitle).tts(this.ttsContent).condition(getConditionMap()).hintType(getHintType())
......@@ -83,6 +88,7 @@ public class SpeechLittlePhaseAddDTO {
} else if (this.phaseType == 3) {
hintTypeMap.put("docType", this.fileType);
hintTypeMap.put("popup",this.popup);
hintTypeMap.put("docPrdCode",this.docPrdCode);
} else if (this.phaseType == 4) {
hintTypeMap.put("certificateType", this.identityType);
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!