|
@@ -270,6 +270,37 @@ public class RuleAttrMappingVo {
|
|
|
}
|
|
}
|
|
|
ruleAttrMappingVoList.add(new RuleAttrMappingVo("PIConsistent", PIConsistent));
|
|
ruleAttrMappingVoList.add(new RuleAttrMappingVo("PIConsistent", PIConsistent));
|
|
|
|
|
|
|
|
|
|
+ // 车被保人是否一致
|
|
|
|
|
+ String CIConsistent = "0";
|
|
|
|
|
+
|
|
|
|
|
+ if (StringUtils.isNotBlank(ownerInfo.getProperty())) {
|
|
|
|
|
+ boolean boo = ownerInfo.getProperty().equals(insuredPersonInfo.getProperty());
|
|
|
|
|
+ if (boo) {
|
|
|
|
|
+ if ("0".equals(insuredPersonInfo.getProperty())) {
|
|
|
|
|
+ //车被保人是否一致
|
|
|
|
|
+ if (insuredPersonInfo.getName()
|
|
|
|
|
+ .equals(ownerInfo.getName()) && insuredPersonInfo.getOrganizationCode()
|
|
|
|
|
+ .equals(ownerInfo.getOrganizationCode())) {
|
|
|
|
|
+ CIConsistent = "1";
|
|
|
|
|
+ }
|
|
|
|
|
+ } else {
|
|
|
|
|
+ //车被保人是否一致
|
|
|
|
|
+ if (insuredPersonInfo.getName()
|
|
|
|
|
+ .equals(ownerInfo.getName()) && insuredPersonInfo.getIdentifyNumber()
|
|
|
|
|
+ .equals(ownerInfo.getIdentifyNumber())) {
|
|
|
|
|
+ CIConsistent = "1";
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ } else {
|
|
|
|
|
+ //投被保人是否一致
|
|
|
|
|
+ if (insuredPersonInfo.getName().equals(ownerInfo.getName()) && insuredPersonInfo.getIdentifyNumber()
|
|
|
|
|
+ .equals(ownerInfo.getIdentifyNumber())) {
|
|
|
|
|
+ CIConsistent = "1";
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ruleAttrMappingVoList.add(new RuleAttrMappingVo("CIConsistent", CIConsistent));
|
|
|
|
|
+
|
|
|
//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"));
|