|
@@ -127,6 +127,21 @@ public class RuleAttrMappingVo {
|
|
|
//被保人 性别
|
|
//被保人 性别
|
|
|
ruleAttrMappingVoList.add(new RuleAttrMappingVo("InsuredSex", insuredPersonInfo.getGender().equals("男") ? "1" : "2"));
|
|
ruleAttrMappingVoList.add(new RuleAttrMappingVo("InsuredSex", insuredPersonInfo.getGender().equals("男") ? "1" : "2"));
|
|
|
|
|
|
|
|
|
|
+ String OPIConsistent = "0";
|
|
|
|
|
+ //车主 投被保人是否一致
|
|
|
|
|
+ if((ownerInfo.getName().equals(insuredPersonInfo.getName()) && insuredPersonInfo.getName().equals(policyHolderInfo.getName())) &&
|
|
|
|
|
+ (ownerInfo.getIdentifyNumber().equals(insuredPersonInfo.getIdentifyNumber()) && insuredPersonInfo.getIdentifyNumber().equals(policyHolderInfo.getIdentifyNumber()))){
|
|
|
|
|
+ OPIConsistent = "1";
|
|
|
|
|
+ }
|
|
|
|
|
+ ruleAttrMappingVoList.add(new RuleAttrMappingVo("OPIConsistent",OPIConsistent));
|
|
|
|
|
+
|
|
|
|
|
+ String PIConsistent = "0";
|
|
|
|
|
+ //投被保人是否一致
|
|
|
|
|
+ if(insuredPersonInfo.getName().equals(policyHolderInfo.getName()) && insuredPersonInfo.getIdentifyNumber().equals(policyHolderInfo.getIdentifyNumber())){
|
|
|
|
|
+ PIConsistent = "1";
|
|
|
|
|
+ }
|
|
|
|
|
+ ruleAttrMappingVoList.add(new RuleAttrMappingVo("PIConsistent",PIConsistent));
|
|
|
|
|
+
|
|
|
//2024-06-20 起保日期 月份判断
|
|
//2024-06-20 起保日期 月份判断
|
|
|
if(insAreaCompany.getJqStartDate() != null && !insAreaCompany.getJqStartDate().equals("")){
|
|
if(insAreaCompany.getJqStartDate() != null && !insAreaCompany.getJqStartDate().equals("")){
|
|
|
LocalDateTime jqStartDate = LocalDateTime.parse(insAreaCompany.getJqStartDate(), DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
|
|
LocalDateTime jqStartDate = LocalDateTime.parse(insAreaCompany.getJqStartDate(), DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
|