Commit cbce352f authored by 刘林's avatar 刘林

fix(jg):修改管道证号bug

parent 669a29ca
......@@ -10,7 +10,7 @@ public class ChangeFieldWatchConstants {
public static final Set<String> USE_CERT_MONITORED_FIELDS =
Collections.unmodifiableSet(new HashSet<>(Arrays.asList(
"equDefine", "equCode", "useInnerCode", "factoryNum",
"province", "city", "county", "street", "address", "useOrgCode", "carNumber"
"province", "city", "county", "street", "address", "useOrgCode", "carNumber", "useRegistrationCode"
)));
/**
......@@ -19,7 +19,7 @@ public class ChangeFieldWatchConstants {
public static final Set<String> USE_FLAG_MONITORED_FIELDS =
Collections.unmodifiableSet(new HashSet<>(Arrays.asList(
"equDefine", "equCode", "useInnerCode", "inspectOrgName", "nextInspectDate",
"emergencyTel", "maintenanceUnitName","useOrgCode"
"emergencyTel", "maintenanceUnitName", "useOrgCode", "useRegistrationCode"
)));
/**
......@@ -28,7 +28,7 @@ public class ChangeFieldWatchConstants {
public static final Set<String> USE_FLAG_VEHICLE_MONITORED_FIELDS =
Collections.unmodifiableSet(new HashSet<>(Arrays.asList(
"productName", "carNumber", "factoryNum", "gasNum", "volume", "fillingMedium", "inspectOrgName",
"nextInspectDate","useOrgCode"
"nextInspectDate", "useOrgCode", "useRegistrationCode"
)));
/**
......@@ -55,7 +55,7 @@ public class ChangeFieldWatchConstants {
Collections.unmodifiableSet(new HashSet<>(Arrays.asList(
"equCode", "productName", "contactPhone", "installUnitName",
"equipType", "factoryNum", "produceUnitName", "produceLicenseNum", "province",
"city", "county", "street", "address","useOrgCode"
"city", "county", "street", "address", "useOrgCode", "useRegistrationCode"
)));
/**
......
......@@ -142,6 +142,7 @@ public class ChangeEquipImpactCertListener {
manage.setEquDefine(EquDefineConverter.getKeyByValue(afterValue));
break;
case "useOrgCode":
case "useRegistrationCode":
manage.setUseRegistrationCode(afterValue);
break;
case "carNumber":
......
......@@ -51,9 +51,9 @@ public class DPSubController {
if (ValidationUtil.isEmpty(param.get("equList"))){
param.put("equList", param.get("EQU_LIST_CODE"));
}
// if (ValidationUtil.isEmpty(param.get("PRODUCT_NAME"))){
// param.put("PRODUCT_NAME", param.get("EQU_LIST"));
// }
if (ValidationUtil.isEmpty(param.get("PRODUCT_NAME"))){
param.put("PRODUCT_NAME", "--");
}
if (!ValidationUtil.isEmpty(param.get("equListCode"))){ // 问题列表关联设备
param.put("equList", param.get("equListCode"));
param.put("EQU_LIST_CODE", param.get("equListCode"));
......
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