Commit ebff8b77 by zhangxingmin

push

parent 46145b14
......@@ -733,7 +733,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
}
// 保障期限
if (StringUtils.isNotBlank(apiProductPlanMainInfoDto.getGuaranteePeriod())) {
follow.setGuaranteePeriod(Integer.parseInt(apiProductPlanMainInfoDto.getGuaranteePeriod()));
follow.setGuaranteePeriod(apiProductPlanMainInfoDto.getGuaranteePeriod());
}
// 保额(重疾险)
follow.setSumInsured(apiProductPlanMainInfoDto.getSumInsured());
......
......@@ -147,7 +147,7 @@ public class PolicyFollow implements Serializable {
/**
* 保障期限
*/
private Integer guaranteePeriod;
private String guaranteePeriod;
/**
* 保额(重疾险)
......
......@@ -182,7 +182,7 @@ public class PolicyServiceImpl extends ServiceImpl<PolicyMapper, Policy>
policyFollow.setCategoryCode(dto.getInsuranceTypeCode());
policyFollow.setInsuranceCategoryBizId(dto.getInsuranceTypeId());
policyFollow.setIssueNumber(dto.getIssueNumber());
policyFollow.setGuaranteePeriod(StringUtils.isNotBlank(dto.getGuaranteePeriod()) ? Integer.parseInt(dto.getGuaranteePeriod()) : null);
policyFollow.setGuaranteePeriod(dto.getGuaranteePeriod());
policyFollow.setSumInsured(parseBigDecimal(dto.getSumInsured()));
policyFollow.setPaymentFrequency(dto.getPaymentFrequency());
policyFollow.setEachIssuePremium(eachIssuePremium);
......
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