Ver Fonte

1.中煤核保,报价字段修改

wks há 3 anos atrás
pai
commit
85a2370e25

+ 12 - 7
src/main/java/com/ydtech/modules/order/entity/api/zm/constants/InsuranceTypeCorrespondence.java → src/main/java/com/ydtech/modules/order/constants/InsuranceTypeCorrespondence.java

@@ -1,4 +1,4 @@
-package com.ydtech.modules.order.entity.api.zm.constants;
+package com.ydtech.modules.order.constants;
 
 import java.util.HashMap;
 import java.util.Map;
@@ -16,7 +16,11 @@ public class InsuranceTypeCorrespondence {
 
     protected static final String[] JINZHANGGUI_TYPE = {"A", "B", "D3", "D4", "MJ1", "MJ2", "MJ3", "MJ4", "BD", "L", "SY_FJ_YBW1", "SY_FJ_YBW2", "SY_FJ_YBW3"};
 
-    protected static final String[] CONNECT_INSURANCE_TYPE = {"01", "02", "041", "044", "501", "502", "5041", "5044", "49", "21", "5302", "5344", "5341"};
+    // 中煤财险
+    protected static final String[] ZM_CONNECT_INSURANCE_TYPE = {"01", "02", "041", "044", "501", "502", "5041", "5044", "49", "21", "5302", "5344", "5341"};
+
+    // 紫金财险
+    protected static final String[] ZJ_CONNECT_INSURANCE_TYPE = {"A", "B", "D3", "D4", "FA", "FB", "FD3", "FD4", "B2", "L", "S1", "S3", "S2"};
 
     // 乘客
     protected static final String[] PASSENGER = {"D4", "SY_FJ_YBW2"};
@@ -29,9 +33,6 @@ public class InsuranceTypeCorrespondence {
 
     public static final String MANUAL_UNDERWRITING = "人工复核";
 
-    public static final String TRAFFIC = "0507";
-    public static final String BUSINESS = "0510";
-
     protected static final Map<String, String> RISK = new HashMap<>();
 
     static {
@@ -43,8 +44,12 @@ public class InsuranceTypeCorrespondence {
         return JINZHANGGUI_TYPE;
     }
 
-    public static String[] getConnectInsuranceType() {
-        return CONNECT_INSURANCE_TYPE;
+    public static String[] getZmConnectInsuranceType() {
+        return ZM_CONNECT_INSURANCE_TYPE;
+    }
+
+    public static String[] getZjConnectInsuranceType() {
+        return ZJ_CONNECT_INSURANCE_TYPE;
     }
 
     public static String[] getPassenger() {