Commit 6e4bc45a by zhangxingmin

push

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