Commit acb35b8d by zhangxingmin

push

parent c95878d0
......@@ -560,15 +560,15 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
if (StringUtils.isBlank(dto.getInsurantRel())) {
throw new BusinessException(tipStr+"与受保人关系不能为空");
}
if (Objects.isNull(dto.getId())) {
throw new BusinessException(tipStr+"第"+i+"项的受益人信息主键id不能为空");
}
// if (Objects.isNull(dto.getId())) {
// throw new BusinessException(tipStr+"第"+i+"项的受益人信息主键id不能为空");
// }
// if (StringUtils.isBlank(dto.getAppointmentBizId())) {
// throw new BusinessException(tipStr+"第"+i+"项的预约信息主表唯一业务ID不能为空");
// }
if (StringUtils.isBlank(dto.getBeneficiaryBizId())) {
throw new BusinessException(tipStr+"第"+i+"项的受益人信息表唯一业务ID不能为空");
}
// if (StringUtils.isBlank(dto.getBeneficiaryBizId())) {
// throw new BusinessException(tipStr+"第"+i+"项的受益人信息表唯一业务ID不能为空");
// }
if (RelTypeEnum.MYSELF.getItemValue().equals(dto.getInsurantRel())) {
//如果对象与受保人关系为本人,就不校验下面的参数,继续循环下一个
......
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