Просмотр исходного кода

永诚调整新能源报价bug

785834757 1 год назад
Родитель
Сommit
a9a4a56ab3
1 измененных файлов с 1 добавлено и 4 удалено
  1. 1 4
      src/main/java/com/ydtech/modules/ins/model/yc/YcBuildData.java

+ 1 - 4
src/main/java/com/ydtech/modules/ins/model/yc/YcBuildData.java

@@ -72,11 +72,8 @@ public class YcBuildData {
             // 燃油
             if(rd.getVhl().getFuelType().equals("32773001")){
                 i = ArrayUtil.indexOf(InsuranceTypeCorrespondence.getYongchengConnectInsuranceType(), kindcode);
-            }
-            // 新能源
-            if(rd.getVhl().getFuelType().equals("32773002")){
-                i = ArrayUtil.indexOf(InsuranceTypeCorrespondence.getYongchengConnectInsuranceTypeNewEmergy(), kindcode);
             }else{
+                // 新能源
                 i = ArrayUtil.indexOf(InsuranceTypeCorrespondence.getYongchengConnectInsuranceTypeNewEmergy(), kindcode);
             }
             InsurKind insurKind = Enum.valueOf(InsurKind.class, InsuranceTypeCorrespondence.getJinZhangGuiType()[i]);