Explorar o código

华泰bug修改

785834757 hai 1 ano
pai
achega
639b246a03

+ 2 - 2
src/main/java/com/ydtech/modules/order/entity/api/huatai/request/HuaTaiQuotedPriceRequest.java

@@ -794,7 +794,7 @@ public class HuaTaiQuotedPriceRequest extends HuaTaiBaseRequest {
                 int randomNum = new Random().nextInt(HuaTaiBaseCode.getOccupation().size());
                 this.occupationCode = HuaTaiBaseCode.getOccupation().get(randomNum);//后续需要根据接口维护返参到表里
                 this.identifyValidDate = customerInfoVo.getIdentifyValidDate() + " " + TimeConstants.START_TIME;
-                this.identifyValidEndDate = customerInfoVo.getIdentifyValidEndDate() + " " + TimeConstants.END_TIME;
+                this.identifyValidEndDate = customerInfoVo.getIdentifyValidEndDate() + " " + TimeConstants.START_TIME;
                 if ("2".equals(role)) {
                     this.carInsuredRelation = "1";
                 }
@@ -808,7 +808,7 @@ public class HuaTaiQuotedPriceRequest extends HuaTaiBaseRequest {
                 int randomNum = new Random().nextInt(HuaTaiBaseCode.getOccupation().size());
                 this.occupationCode = HuaTaiBaseCode.getOccupation().get(randomNum);//后续需要根据接口维护返参到表里
                 this.identifyValidDate = customerInfoVo.getIdentifyValidDate() + " " + TimeConstants.START_TIME;
-                this.identifyValidEndDate = customerInfoVo.getIdentifyValidEndDate() + " " + TimeConstants.END_TIME;
+                this.identifyValidEndDate = customerInfoVo.getIdentifyValidEndDate() + " " + TimeConstants.START_TIME;
                 this.transactorName = customerInfoVo.getLegalPerson();
                 if ("2".equals(role)) {
                     this.carInsuredRelation = "1";

+ 1 - 1
src/main/java/com/ydtech/modules/order/entity/api/huatai/request/HuaTaiSubmitRequest.java

@@ -453,7 +453,7 @@ public class HuaTaiSubmitRequest extends HuaTaiBaseRequest {
             this.role = role;
             this.occupationCode = "20114";//后续需要根据接口维护返参到表里
             this.identifyValidDate = customerInfoVo.getIdentifyValidDate() + " " + TimeConstants.START_TIME;
-            this.identifyValidEndDate = customerInfoVo.getIdentifyValidEndDate() + " " + TimeConstants.END_TIME;
+            this.identifyValidEndDate = customerInfoVo.getIdentifyValidEndDate() + " " + TimeConstants.START_TIME;
             this.addr = customerInfoVo.getAddr();
             this.email = "123@qq.com";
             if (StringUtils.isNotEmpty(customerInfoVo.getEmail())) {