Showing
1 changed file
with
2 additions
and
1 deletions
| @@ -244,7 +244,8 @@ public class CustomerDevelopPlanController extends DefaultBaseController { | @@ -244,7 +244,8 @@ public class CustomerDevelopPlanController extends DefaultBaseController { | ||
| 244 | , SecurityUtil.getCurrentUser().getId()); | 244 | , SecurityUtil.getCurrentUser().getId()); |
| 245 | Map<String, FlowTaskDto> flowTaskMap = new HashMap<>(); | 245 | Map<String, FlowTaskDto> flowTaskMap = new HashMap<>(); |
| 246 | if (CollectionUtils.isNotEmpty(flowTaskList)) { | 246 | if (CollectionUtils.isNotEmpty(flowTaskList)) { |
| 247 | - flowTaskMap = flowTaskList.stream().collect(Collectors.toMap(FlowTaskDto::getBusinessId, Function.identity())); | 247 | + flowTaskMap = flowTaskList.stream().filter(info ->"CUSTOMER_DEVELOP".equals(info.getMode())) |
| 248 | + .collect(Collectors.toMap(FlowTaskDto::getBusinessId, Function.identity())); | ||
| 248 | } | 249 | } |
| 249 | // 获取产品品种信息 | 250 | // 获取产品品种信息 |
| 250 | List<ProductVariety> productVarietyList = productVarietyService.listByIds(productVarietyIds); | 251 | List<ProductVariety> productVarietyList = productVarietyService.listByIds(productVarietyIds); |