Commit 07467d6d by jianan

Merge branch 'refs/heads/dev' into prod

parents 4f42beb3 cd66fe60
......@@ -497,6 +497,11 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol
throw new BusinessException(ErrorCode.NOT_FOUND_ERROR.getCode(), "policy不存在");
}
policy.setPolicyNo(policyFollow.getPolicyNo());
policy.setPaymentPremium(policyFollow.getEachIssuePremium());
policy.setPolicyHolderAge(calculatePolicyHolderAge(policyFollow.getCustomerBizId()));
policy.setEffectiveDate(policyFollow.getEffectiveDate());
policy.setCoolingOffEndDate(policyFollow.getCoolingOffEndDate());
policy.setPaymentTerm(policyFollow.getIssueNumber());
// 更新保单状态为生效
policy.setStatus(PolicyStatusEnum.INFORCE.getItemValue());
// 手动映射不同名的字段
......
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