瀏覽代碼

修改紫金下发修改提示信息

wks 2 年之前
父節點
當前提交
125df6627e
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/main/java/com/ydtech/modules/order/constants/InsuranceTypeCorrespondence.java

+ 4 - 2
src/main/java/com/ydtech/modules/order/constants/InsuranceTypeCorrespondence.java

@@ -1,5 +1,7 @@
 package com.ydtech.modules.order.constants;
 
+import com.ydtech.constants.enums.dict.insurance.NatureOfVehicleUse;
+
 import java.util.HashMap;
 import java.util.Map;
 
@@ -42,8 +44,8 @@ public class InsuranceTypeCorrespondence {
     protected static final Map<String, String> ZM_CAR_MotorUsageTypeCode = new HashMap<>();
 
     static {
-        ZM_CAR_MotorUsageTypeCode.put("XX", "01");//营业
-        ZM_CAR_MotorUsageTypeCode.put("8A", "02");//非营业
+        ZM_CAR_MotorUsageTypeCode.put(NatureOfVehicleUse.NOVU_01.getCode(), "01");//营业
+        ZM_CAR_MotorUsageTypeCode.put(NatureOfVehicleUse.NOVU_02.getCode(), "02");//非营业
     }
 
     public static String[] getJinZhangGuiType() {