Commit 94e1e453 by zhangxingmin

push

parent 4122d703
......@@ -93,7 +93,7 @@ public class ApiProductLaunchServiceImpl implements ApiProductLaunchService {
}
String productBizId = "";
//保存产品基础信息
if (Objects.isNull(request.getProductBizId())) {
if (StringUtils.isBlank(request.getProductBizId())) {
//新增产品基础信息
Result<String> result = apiProductService.add(ApiProductAddRequest.builder()
.productName(request.getProductName())
......@@ -103,6 +103,7 @@ public class ApiProductLaunchServiceImpl implements ApiProductLaunchService {
//编辑产品基础信息
Result<String> result = apiProductService.edit(ApiProductEditRequest.builder()
.productName(request.getProductName())
.productBizId(productBizId)
.build());
productBizId = result.getData();
}
......
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