소스 검색

Revert "阳光修改"

This reverts commit 7d0c6a8ac87c5cf23892f4c9329dfd6bf8a65a30.
wks 1 년 전
부모
커밋
6e8f0b253f
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 6 6
      src/main/java/com/ydtech/modules/order/entity/api/yangguang/request/YangGuangAccuracyCalculateRequest.java

+ 6 - 6
src/main/java/com/ydtech/modules/order/entity/api/yangguang/request/YangGuangAccuracyCalculateRequest.java

@@ -495,16 +495,16 @@ public class YangGuangAccuracyCalculateRequest extends YangGuangBaseRequest {
             this.Name = customerInfoVo.getName();
             this.Mobile = customerInfoVo.getMobile();
             this.OwnerAdress = customerInfoVo.getAddr();
-            if ("0".equals(customerInfoVo.getProperty())) {
-                this.IdentifyType = "09";
-                this.InsuredType = "2";
-                this.CarInsuredRelation = "1";
-                this.IdentifyNumber = customerInfoVo.getOrganizationCode();
-            }else {
+            if (customerInfoVo.getProperty() != null && customerInfoVo.getProperty().equals("1")) {
                 this.InsuredType = "0";
                 this.IdentifyType = "01";
                 this.CarInsuredRelation = "1";
                 this.IdentifyNumber = customerInfoVo.getIdentifyNumber();
+            } else if (customerInfoVo.getProperty() != null && customerInfoVo.getProperty().equals("0")) {
+                this.IdentifyType = "09";
+                this.InsuredType = "2";
+                this.CarInsuredRelation = "1";
+                this.IdentifyNumber = customerInfoVo.getOrganizationCode();
             }
         }
     }