Showing
1 changed file
with
2 additions
and
1 deletions
| ... | ... | @@ -244,7 +244,8 @@ public class CustomerDevelopPlanController extends DefaultBaseController { |
| 244 | 244 | , SecurityUtil.getCurrentUser().getId()); |
| 245 | 245 | Map<String, FlowTaskDto> flowTaskMap = new HashMap<>(); |
| 246 | 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 | 251 | List<ProductVariety> productVarietyList = productVarietyService.listByIds(productVarietyIds); | ... | ... |