Commit 7204576c authored by 刘林's avatar 刘林

fix(jg):暂存功能问题处理

parent aa2e27a0
......@@ -43,7 +43,7 @@ public class DataDockTemplateVersionUtils {
VERSION_MAP.put("工业管道设备", "V1.0.0");
VERSION_MAP.put("公用管道设备", "V1.0.0");
VERSION_MAP.put("历史无证_压力容器设备_氧舱", "V1.0.1");
VERSION_MAP.put("历史无证设备_场内机动车辆", "V1.0.0");
VERSION_MAP.put("历史无证设备_场内机动车辆", "V1.0.1");
VERSION_MAP.put("历史无证设备_电梯设备", "V1.0.1");
VERSION_MAP.put("历史无证设备_管道设备", "V1.0.0");
VERSION_MAP.put("历史无证设备_锅炉设备", "V1.0.0");
......@@ -71,7 +71,7 @@ public class DataDockTemplateVersionUtils {
VERSION_MAP.put("新设备_压力容器设备_固定式", "V1.0.1");
VERSION_MAP.put("新设备_压力容器设备_氧舱", "V1.0.1");
VERSION_MAP.put("新设备_游乐设施设备", "V1.0.0");
VERSION_MAP.put("压力容器设备", "V1.0.1");
VERSION_MAP.put("压力容器设备", "V1.0.2");
VERSION_MAP.put("长输管道设备", "V1.0.0");
}
......
......@@ -94,7 +94,6 @@ public class PressureVesselListener extends AnalysisEventListener<EquipInfoCylin
log.info("解析第{}行数据:{}", rowIndex, JSON.toJSONString(data));
// 检查各字段是否为空,如果为空则追加错误信息
checkNotBlank(data.getProductName(), "设备名称不能为空");
checkNotBlank(data.getBrandName(), "品牌名称不能为空");
checkNotBlank(data.getEquType(), "设备型号不能为空");
checkNotBlank(data.getUseInnerCode(), "单位内部编号不能为空");
if (useInnerCodeList.contains(data.getUseInnerCode())) {
......
......@@ -24,7 +24,8 @@ public class MaintainNoticeStrategyHandler implements ToBeSubmitDetailStrategy {
Map<String, Object> basic = new HashMap<>();
basic.put("type", ApplicationFormTypeEnum.WXGZ.getBusinessCode());
basic.put("receiveOrgCreditCode", maintainInfo.get("receiveOrgCreditCode"));
basic.put("code", maintainInfo.get("EQU_LIST_CODE"));
basic.put("equCategory", maintainInfo.get("EQU_CATEGORY_CODE"));
Map<String, Map<String, Object>> result = new HashMap<>();
result.put("notice", maintainInfo);
result.put("basic", basic);
......
......@@ -23,6 +23,8 @@ public class ReformNoticeStrategyHandler implements ToBeSubmitDetailStrategy {
Map<String, Object> basic = new HashMap<>();
basic.put("type", ApplicationFormTypeEnum.GZGZ.getBusinessCode());
basic.put("receiveOrgCreditCode", reformNotice.get("receiveOrgCode"));
basic.put("code", reformNotice.get("EQU_LIST_CODE"));
basic.put("equCategory", reformNotice.get("EQU_CATEGORY_CODE"));
Map<String, Map<String, Object>> result = new HashMap<>();
result.put("notice", reformNotice);
result.put("basic", basic);
......
......@@ -25,6 +25,7 @@ public class RegistrationReformStrategyHandler implements ToBeSubmitDetailStrate
basic.put("receiveOrgCreditCode1", notice.get("receiveCompanyCode"));
basic.put("businessScenarios", "0");
basic.put("code", notice.get("EQU_LIST_CODE"));
basic.put("equCategory", notice.get("EQU_CATEGORY_CODE"));
Map<String, Object> responseDetail = (Map<String, Object>) notice.get("responseDetail");
if (responseDetail != null) {
responseDetail.put("techInfo", notice.get("techInfo"));
......
......@@ -24,7 +24,8 @@ public class TransferNoticeStrategyHandler implements ToBeSubmitDetailStrategy {
Map<String, Object> basic = new HashMap<>();
basic.put("type", ApplicationFormTypeEnum.YZGZ.getBusinessCode());
basic.put("receiveOrgCreditCode", transferInfo.get("receiveOrgCreditCode"));
basic.put("code", transferInfo.get("EQU_LIST_CODE"));
basic.put("equCategory", transferInfo.get("EQU_CATEGORY_CODE"));
Map<String, Map<String, Object>> result = new HashMap<>();
result.put("notice", transferInfo);
result.put("basic", basic);
......
......@@ -25,6 +25,8 @@ public class UseRegistrationStrategyHandler implements ToBeSubmitDetailStrategy
basic.put("type", ApplicationFormTypeEnum.SYDJ.getBusinessCode());
basic.put("businessScenarios", "0");
basic.put("receiveOrgCreditCode1", notice.get("receiveOrgCode"));
basic.put("code", notice.get("EQU_LIST_CODE"));
basic.put("equCategory", notice.get("EQU_CATEGORY_CODE"));
Map<String, Map<String, Object>> result = new HashMap<>();
result.put("notice", notice);
result.put("basic", basic);
......
......@@ -30,6 +30,7 @@ public class VehicleRegistrationStrategyHandler implements ToBeSubmitDetailStrat
basic.put("receiveOrgCreditCode1", vo.getReceiveOrgCode());
basic.put("businessScenarios", "1");
basic.put("code", "2300");
basic.put("equCategory", "23T0");
Map<String, Map<String, Object>> result = new HashMap<>();
useRegFormUpload.put("useRegistrationFormUrl", vo.getUseRegistrationFormUrl());
result.put("notice", Bean.BeantoMap(vo));
......
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