Commit 4156a877 by 谢海旭

客户数据导出接口:无客户数据时返回错误信息提示

1 parent bdb4dd3f
...@@ -455,7 +455,7 @@ public class SopInstService { ...@@ -455,7 +455,7 @@ public class SopInstService {
getCustomersForExcel(search, customerSopJourneyDTOList); getCustomersForExcel(search, customerSopJourneyDTOList);
if (CollectionUtils.isEmpty(customerSopJourneyDTOList)) { if (CollectionUtils.isEmpty(customerSopJourneyDTOList)) {
return null; throw new AdminException(ResultEnum.PARAM_ERROR.getCode(), "当前数据列表为空,请重新选择");
} }
customerSopJourneyDTOList.parallelStream().forEach(customerSopJourneyDTO -> { customerSopJourneyDTOList.parallelStream().forEach(customerSopJourneyDTO -> {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!