Commit 8f66681e927a62632589a6a0ccba0a17f62bed65

Authored by yeqianyong
1 parent b7229ff8

楚江ERP-客户开发列表处理流程任务时逻辑调整

... ... @@ -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);
... ...