Commit b098f3da by zhangxingmin

push

parent e9119fda
...@@ -673,7 +673,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService { ...@@ -673,7 +673,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
} }
} }
//产品名称 //产品名称
follow.setProductName(apiProductPlanMainInfoDto.getProductLaunchName()); follow.setProductName(apiProductPlanMainInfoDto.getProductLaunchMainName());
//签单员列表 //签单员列表
setSignerList(follow, appointment); setSignerList(follow, appointment);
} }
......
...@@ -69,6 +69,7 @@ public class ApiProductPlanServiceImpl implements ApiProductPlanService { ...@@ -69,6 +69,7 @@ public class ApiProductPlanServiceImpl implements ApiProductPlanService {
if (!Objects.isNull(productPlan)) { if (!Objects.isNull(productPlan)) {
dto = new ApiProductPlanMainInfoDto(); dto = new ApiProductPlanMainInfoDto();
BeanUtils.copyProperties(productPlan,dto); BeanUtils.copyProperties(productPlan,dto);
dto.setProductLaunchMainName(productPlan.getProductLaunchName());
} }
return Result.success(dto); return Result.success(dto);
} }
...@@ -131,6 +132,7 @@ public class ApiProductPlanServiceImpl implements ApiProductPlanService { ...@@ -131,6 +132,7 @@ public class ApiProductPlanServiceImpl implements ApiProductPlanService {
productPlan.setPlanBizId(RandomStringGenerator.generateBizId16(CommonEnum.UID_TYPE_PRODUCT_PLAN.getCode())); productPlan.setPlanBizId(RandomStringGenerator.generateBizId16(CommonEnum.UID_TYPE_PRODUCT_PLAN.getCode()));
//预约信息主表唯一业务ID //预约信息主表唯一业务ID
productPlan.setAppointmentBizId(appointmentBizId); productPlan.setAppointmentBizId(appointmentBizId);
productPlan.setProductLaunchName(dto.getProductLaunchMainName());
iProductPlanService.saveOrUpdate(productPlan); iProductPlanService.saveOrUpdate(productPlan);
return Result.success(productPlan); return Result.success(productPlan);
} }
...@@ -161,6 +163,7 @@ public class ApiProductPlanServiceImpl implements ApiProductPlanService { ...@@ -161,6 +163,7 @@ public class ApiProductPlanServiceImpl implements ApiProductPlanService {
BeanUtils.copyProperties(dto,productPlan); BeanUtils.copyProperties(dto,productPlan);
//预约信息主表唯一业务ID //预约信息主表唯一业务ID
productPlan.setAppointmentBizId(appointmentBizId); productPlan.setAppointmentBizId(appointmentBizId);
productPlan.setProductLaunchName(dto.getProductLaunchMainName());
iProductPlanService.saveOrUpdate(productPlan); iProductPlanService.saveOrUpdate(productPlan);
return Result.success(productPlan); return Result.success(productPlan);
} }
......
...@@ -45,7 +45,7 @@ public class ApiProductPlanMainInfoDto { ...@@ -45,7 +45,7 @@ public class ApiProductPlanMainInfoDto {
* 产品上架信息表名称(标题) * 产品上架信息表名称(标题)
*/ */
@NotBlank(message = "产品计划-基本计划-产品名称不能为空") @NotBlank(message = "产品计划-基本计划-产品名称不能为空")
private String productLaunchName; private String productLaunchMainName;
/** /**
* 供款期数 * 供款期数
......
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