Commit 6e4bc45a by zhangxingmin

push

parent 956c1a8b
......@@ -217,7 +217,7 @@ public class ApiAdditionalServiceImpl implements ApiAdditionalService {
//入参对象列表中有传值的业务id在库中不存在的对象,提示
List<String> additionalProductNameList = filteredList
.stream()
.map(ApiProductPlanAdditionalInfoDto::getProductName)
.map(ApiProductPlanAdditionalInfoDto::getAddProductName)
.collect(Collectors.toList());
throw new BusinessException("以下是在库里不存在的附加险数据的附加产品名称:"+String.join(" ;",additionalProductNameList));
}
......
......@@ -317,6 +317,9 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
if (StringUtils.isBlank(dto.getAdditionalProductBizId())) {
throw new BusinessException(tipStr+"第"+i+"项的保险附加产品名称不能为空");
}
if (StringUtils.isBlank(dto.getAddProductName())) {
throw new BusinessException(tipStr+"第"+i+"项的保险附加产品名称不能为空");
}
if (StringUtils.isBlank(dto.getCurrency())) {
throw new BusinessException(tipStr+"第"+i+"项的货币不能为空");
}
......
......@@ -35,7 +35,7 @@ public class ApiProductPlanAdditionalInfoDto {
* 保险附加产品名称(中台保险附加产品名称,冗余)
*/
// @NotBlank(message = "保险附加产品名称不能为空")
private String productName;
private String addProductName;
/**
* 货币(字典)
......
......@@ -49,8 +49,8 @@ public class Additional implements Serializable {
/**
* 保险附加产品名称(中台保险附加产品名称,冗余)
*/
@TableField("product_name")
private String productName;
@TableField("add_product_name")
private String addProductName;
/**
* 货币(字典)
......
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