Jelajahi Sumber

update
1.人保修改

wks 9 bulan lalu
induk
melakukan
d99ded978d

+ 2 - 0
tenant/insurance/quotation-renbao/src/main/java/com/jzg/quotation/renbao/crawler/component/RenBaoCrawlerRequestComponent.java

@@ -16,12 +16,14 @@ import lombok.RequiredArgsConstructor;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.core.ParameterizedTypeReference;
 import org.springframework.http.HttpHeaders;
+import org.springframework.stereotype.Component;
 
 import java.util.List;
 
 
 @Slf4j
 @RequiredArgsConstructor
+@Component
 public class RenBaoCrawlerRequestComponent {
 
     private final RequestComponent requestComponent;

+ 18 - 19
tenant/insurance/quotation-renbao/src/main/java/com/jzg/quotation/renbao/crawler/entity/dto/PrpCmainDTO.java

@@ -18,7 +18,6 @@ import java.time.Instant;
 import java.util.List;
 
 @Data
-@AllArgsConstructor
 @NoArgsConstructor
 public class PrpCmainDTO implements Serializable {
 
@@ -815,15 +814,15 @@ public class PrpCmainDTO implements Serializable {
                        RenBaoCrawlerGetAgentsData.DataDTO agents, RenBaoCrawlerQueryServiceManagerData.DataDTO manager, RenBaoCrawlerGetMonopolyData.DataDTO monopoly) {
         this.activeNames = List.of("0");
         this.showCarCheckTimeFlag = false;
-        this.userCode = userCode;
-        this.userName = userName;
+        this.userCode = "";
+        this.userName = "";
         this.companyName = null;
         this.element = "";
         this.comTable = List.of();
-        this.comCode = comCode;
-        this.comCode1 = comCode1;
-        this.userName1 = userName1;
-        this.comCodeDes = comCodeDes;
+        this.comCode = "";
+        this.comCode1 = "";
+        this.userName1 = "";
+        this.comCodeDes = "";
         this.handler1Code = handler1Code.getUserCode();
         this.handler1codeUni = handler1Code.getGroupUserCode();
         this.handler1CodeDes = handler1Code.getUserName();
@@ -834,8 +833,8 @@ public class PrpCmainDTO implements Serializable {
         this.businessNatureTranslation = businessSourcesCode;
         this.agentCode = agents.getAgentCode();
         this.agentName = agents.getAgentName();
-        this.makeCom = makeCom;
-        this.makeComDes = makeComDes;
+        this.makeCom = "";
+        this.makeComDes = "";
         this.monopolyCode = monopoly.getStoreCode();
         this.monopolyName = monopoly.getStoreName();
         this.carChecker = manager.getUserCode();
@@ -936,7 +935,7 @@ public class PrpCmainDTO implements Serializable {
         this.inputFlag = "";
         this.sumInsuredType = "";
         this.agriFlag = "";
-        this.preDiscount = preDiscount;
+        this.preDiscount = "";
         this.adjustSelfPricingDiscount = "";
         this.cashComMarketRateDownRatio = "";
         this.preDiscountOld = "";
@@ -970,7 +969,7 @@ public class PrpCmainDTO implements Serializable {
         this.sumAmount = "";
         this.coinsFlag = "";
         this.policyNo = "";
-        this.useYear = useYear;
+        this.useYear = "";
         this.calculateModes = QuotationParameters.CALCULATE_MODES_LIST;
         this.vinSearch = false;
         this.platSearch = true;
@@ -1036,7 +1035,7 @@ public class PrpCmainDTO implements Serializable {
         this.isNetEndorDisabled = false;
         this.platformCode = "";
         this.platformCodeDes = "";
-        this.cqpCount = cqpCount;
+        this.cqpCount = "";
         this.localUse = "";
         this.localUseDes = QuotationParameters.LOCAL_USE_LIST;
         this.localLicense = "";
@@ -1052,7 +1051,7 @@ public class PrpCmainDTO implements Serializable {
         this.endorLoading = "";
         this.endorEmit = "";
         this.updatePrepareQueryData = new UpdatePrepareQueryDataDTO();
-        this.userclassificationcodePrpall = userclassificationcodePrpall;
+        this.userclassificationcodePrpall = "";
         this.searchInsuredText = "";
         this.decryptFlag = false;
         this.decryptMap = new DecryptMapDTO();
@@ -1068,12 +1067,12 @@ public class PrpCmainDTO implements Serializable {
         this.feProjectCode = "";
         this.underwritOpinion = "";
         this.clauseFlag = "1";
-        this.startHour = startHour;
-        this.startMinute = startMinute;
-        this.startDate = startDate;
-        this.endDate = endDate;
-        this.endHour = endHour;
-        this.endMinute = endMinute;
+        this.startHour = 1;
+        this.startMinute = 1;
+        this.startDate = "";
+        this.endDate = "";
+        this.endHour = 1;
+        this.endMinute = 1;
         this.email = "";
         this.emailE = "";
     }