Commit 134a0ff9 authored by suhuiguang's avatar suhuiguang

feat(重要提醒):业务新增提醒开发联调

1.前端历史登记类型调整,格式不一样
parent 6ec1ad83
......@@ -203,10 +203,10 @@ public class UseRegisterReminderAdapter extends DefaultReminder {
if (formData.containsKey(notice)) { // 新增登记工作台发起
data = JSONObject.parseObject(JSONObject.toJSONString(formData.get(notice)));
data.put("regType", "0");
} else if (formData.containsKey(SECOND)) { // 历史有证、无证登记
} else if (formData.containsKey(SECOND) ) { // 历史有证、无证登记
data = JSONObject.parseObject(JSONObject.toJSONString(formData.get(SECOND)));
String historyEquType = (String) formData.get(HISTORY_EQU_TYPE);
data.put("regType", historyEquType.contains("sp") ? "2" : "1");
String regType = (String) formData.get(KEY_REG_TYPE);
data.put("regType", regType);
} else { // 编辑
data = new JSONObject(formData);
}
......
......@@ -168,6 +168,8 @@ public class CommonServiceImpl implements ICommonService {
private static final String basic = "basic";
private static final String useRegFormUpload = "useRegFormUpload";
public static final String HISTORY_EQU_TYPE = "historyEquType";
public static final String KEY_REG_TYPE = "regType";
public static final String HISTORY_SUBMIT_TYPE = "historySubmitType";
public static final String SECOND = "second";
// 业务通用发起——告知单详情
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment