Ver Fonte

python 投保单号,保单号颠倒修改

wks há 3 anos atrás
pai
commit
a7c71d807c

+ 6 - 6
src/main/java/com/ydtech/modules/order/service/impl/InsCrawlerOrderServiceImpl.java

@@ -117,13 +117,13 @@ public class InsCrawlerOrderServiceImpl implements InsCrawlerOrderService {
         }
         // 投保单号
         insAreaCompany.setPaymentLink(crawlerAuditResponse.getPayUrl());
-        insAreaCompany.setJqapplyno(crawlerAuditResponse.getJqApplication());
-        insAreaCompany.setSyapplyno(crawlerAuditResponse.getSyApplication());
-        insAreaCompany.setJyapplyno(crawlerAuditResponse.getJyxApplication());
+        insAreaCompany.setJqapplyno(crawlerAuditResponse.getJqPolicy());
+        insAreaCompany.setSyapplyno(crawlerAuditResponse.getSyPolicy());
+        insAreaCompany.setJyapplyno(crawlerAuditResponse.getJyxPolicy());
         // 保单号
-        insAreaCompany.setJqpolicyno(crawlerAuditResponse.getJqPolicy());
-        insAreaCompany.setSypolicyno(crawlerAuditResponse.getSyPolicy());
-        insAreaCompany.setJypolicyno(crawlerAuditResponse.getJyxPolicy());
+        insAreaCompany.setJqpolicyno(crawlerAuditResponse.getJqApplication());
+        insAreaCompany.setSypolicyno(crawlerAuditResponse.getSyApplication());
+        insAreaCompany.setJypolicyno(crawlerAuditResponse.getJyxApplication());
         insAreaCompany.setOrderstatus(InsOrderStatus.S_2.getCode());
         insAreaCompanyService.updateCompanyAndOrders(insAreaCompany);
         return HttpResult.ok("核保成功");