Commit deb58761 authored by 李灿灿's avatar 李灿灿

商险替换保单生效日期调整

parent 3be9ae10
...@@ -419,6 +419,8 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -419,6 +419,8 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
newDetail.setDefaultSettleId(null); newDetail.setDefaultSettleId(null);
//替换不继承备注 //替换不继承备注
newDetail.setRemark(null); newDetail.setRemark(null);
//替换不继承保单生效日期
newDetail.setPolicyEffect(null);
//保费都默认是0 //保费都默认是0
newDetail.setActualPremium(new BigDecimal("0.00")); newDetail.setActualPremium(new BigDecimal("0.00"));
newDetail.setEstimatePremium(new BigDecimal("0.00")); newDetail.setEstimatePremium(new BigDecimal("0.00"));
...@@ -1150,6 +1152,8 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -1150,6 +1152,8 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
detail.setIsUse(CommonConstants.ZERO_INT); detail.setIsUse(CommonConstants.ZERO_INT);
detail.setUpdateTime(LocalDateTime.now()); detail.setUpdateTime(LocalDateTime.now());
detail.setUpdateBy(user.getId()); detail.setUpdateBy(user.getId());
//替换类型,保单生效日期:T + 1
detail.setPolicyEffect(LocalDate.now().plusDays(CommonConstants.ONE_INT));
successList.add(detail); successList.add(detail);
}else{ }else{
//根据结算类型判断是否需要计算预估保费 //根据结算类型判断是否需要计算预估保费
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment