Bläddra i källkod

1、永城增加投保联系人配置

ligang134 3 år sedan
förälder
incheckning
c6256169f9

+ 14 - 2
README.md

@@ -52,13 +52,25 @@
   1. 解决已知BUG。
 
 
+
+
 **《掌柜鼎PC平台》临时更新公告**
 
 * 版本号:v0.0.3.2
 * 访问地址:http://sxzgkj.baoxianzhanggui.com/
-* 更新时间:2023-08-30 13:30  ~  2023-08-30 14:00
+* 更新时间:2023-08-30 18:00  ~  2023-08-30 18:20
+* 更新内容:
+  1. 解决bug表2023-08-30要完成的功能
+
+
+
+**《掌柜鼎PC平台》临时更新公告**
+
+* 版本号:v0.0.3.3
+* 访问地址:http://sxzgkj.baoxianzhanggui.com/
+* 更新时间:2023-08-31 13:50  ~  2023-08-31 14:00
 * 更新内容:
-  1. 解决BUG表2023-08-30完成的功能。
+  1. 解决bug表2023-08-31要完成的功能
 
 
 

+ 1 - 0
src/main/java/com/ydtech/components/TokenInterceptor.java

@@ -24,6 +24,7 @@ public class TokenInterceptor {
 //        notMatchList.add("/esmUserInternalcheck/userRegist");
         notMatchList.add("/dict/**");   //字典
         notMatchList.add("/user/agentRegist");   //个代注册
+        notMatchList.add("/user/findById");   //获取用户信息
         notMatchList.add("/template/**");   //系统模板
 
         // 文件访问路劲

+ 2 - 0
src/main/java/com/ydtech/modules/ins/model/yc/YcConfigureParameters.java

@@ -36,6 +36,8 @@ public class YcConfigureParameters implements ConfigureParameters {
     private String userName;
     //密码
     private String password;
+    //投保联系人  ≤5个字
+    private String cCntrNme;
 
 
 

+ 4 - 3
src/main/java/com/ydtech/modules/ins/model/yc/ruote/Applicant.java

@@ -2,6 +2,7 @@ package com.ydtech.modules.ins.model.yc.ruote;
 
 import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
 import com.ydtech.modules.ins.model.vo.CustomerInfoVo;
+import com.ydtech.modules.ins.model.yc.YcConfigureParameters;
 import com.ydtech.utils.IDCardUtils;
 import com.ydtech.utils.StringUtils;
 import lombok.Data;
@@ -224,7 +225,7 @@ public class Applicant {
     private String CAreaCde;
 
 
-    public static Applicant buildApplicant(CustomerInfoVo ownerInfo, CustomerInfoVo policyHolderInfo) {
+    public static Applicant buildApplicant(CustomerInfoVo ownerInfo, CustomerInfoVo policyHolderInfo,YcConfigureParameters ycConfigureParameters) {
 //    public static Applicant buildApplicant(YaQuoteInfoVo yaQuoteInfoVo){
 
 //        CustomerInfoVo ownerInfo = yaQuoteInfoVo.getOwnerInfo();
@@ -242,8 +243,8 @@ public class Applicant {
         applicant.setCAreaCde("103132");
         applicant.setTBirthday(IDCardUtils.GetBirthday(policyHolderInfo.getIdentifyNumber()));
         applicant.setCSex(IDCardUtils.GetYcSex(policyHolderInfo.getIdentifyNumber()));
-        //@TODO 临时测试   后期需要页面传入
-        applicant.setCCntrNme("天勤");
+//        applicant.setCCntrNme("天勤");
+        applicant.setCCntrNme(ycConfigureParameters.getCCntrNme());
         if(StringUtils.isNullOrEmpty(applicant.getCCntrNme())){
             applicant.setCCntrNme(policyHolderInfo.getName());
         }

+ 2 - 2
src/main/java/com/ydtech/modules/ins/model/yc/ruote/Ruote.java

@@ -281,7 +281,7 @@ public class Ruote {
          * 投保人信息
          * 代码:applicant
          */
-        Applicant applicant = Applicant.buildApplicant(ownerInfo, policyHolderInfo);
+        Applicant applicant = Applicant.buildApplicant(ownerInfo, policyHolderInfo,ycConfigureParameters);
         condition.setApplicant(applicant);
 
         /**
@@ -297,7 +297,7 @@ public class Ruote {
          */
         if (null != adVo && StringUtils.isNotEmpty(adVo.getRideRiskCode()) && adVo.getQuantity() > 0) {
             CvrgYW cvrgYW = new CvrgYW();
-            cvrgYW.setCInsuranceCode(adVo.getRideRiskCode().toString());
+            cvrgYW.setCInsuranceCode(adVo.getRideRiskCode());
             cvrgYW.setNInsuranceQuantity(adVo.getQuantity() + "");
             condition.setCvrgYW(cvrgYW);
         }