|
|
@@ -125,11 +125,11 @@ public class RuleAttrMappingVo {
|
|
|
ruleAttrMappingVoList.add(new RuleAttrMappingVo("InsuredSex", insuredPersonInfo.getGender().equals("男") ? "1" : "2"));
|
|
|
|
|
|
//2024-06-20 起保日期 月份判断
|
|
|
- if(insOrders.getJqstartdate() != null){
|
|
|
+ if(insAreaCompany.getJqStartDate() != null && !insAreaCompany.getJqStartDate().equals("")){
|
|
|
LocalDateTime jqStartDate = LocalDateTime.parse(insAreaCompany.getJqStartDate(), DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
|
|
|
ruleAttrMappingVoList.add(new RuleAttrMappingVo("JqStartMonth", String.valueOf(jqStartDate.getMonthValue())));
|
|
|
}
|
|
|
- if(insOrders.getSystartdate() != null) {
|
|
|
+ if(insAreaCompany.getSyStartDate() != null && !insAreaCompany.getSyStartDate().equals("")) {
|
|
|
LocalDateTime syStartDate = LocalDateTime.parse(insAreaCompany.getSyStartDate(), DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
|
|
|
ruleAttrMappingVoList.add(new RuleAttrMappingVo("SyStartMonth", String.valueOf(syStartDate.getMonthValue())));
|
|
|
}
|