Commit 531e6037 by zhangxingmin

push

parent 2c498538
......@@ -180,6 +180,11 @@ public class ApiProductLaunchServiceImpl implements ApiProductLaunchService {
}
apiProductLaunchDto.setApiProjectDtoList(apiProjectDtoList(productLaunch.getProjectBizIdList()));
apiProductLaunchDto.setProjectBizIdList(StringUtils.isNotBlank(productLaunch.getProjectBizIdList()) ? Arrays.asList(productLaunch.getProjectBizIdList().split(";").clone()) : new ArrayList<>());
if (StringUtils.isNotBlank(productLaunch.getProductBizId())) {
Product product = iProductService.queryOne(productLaunch.getProductBizId());
apiProductLaunchDto.setTitle(!Objects.isNull(product) ? product.getProductName() : "");
}
response.setApiProductLaunchDto(apiProductLaunchDto);
//设置的产品上架信息的参数列表
......@@ -215,6 +220,7 @@ public class ApiProductLaunchServiceImpl implements ApiProductLaunchService {
List<ApiSpeciesPriceDto> apiSpeciesPriceDtoList = apiSpeciesPriceService.querySpeciesPriceDtoList(productLaunchBizId);
response.setApiSpeciesPriceDtoList(apiSpeciesPriceDtoList);
return Result.success(response);
}
......
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