|
@@ -407,6 +407,9 @@ public class GanttServiceImpl implements GanttService {
|
|
|
dateVo.setWorkstatus(ganttVos.stream().map(GanttVos::getWorkstatus).distinct().collect(Collectors.joining(",")));
|
|
|
dateVo.setLockmark(ganttVos.stream().map(GanttVos::getLockmark).distinct().collect(Collectors.joining(",")));
|
|
|
dateVo.setProductionorderid(ganttVos.stream().map(GanttVos::getProductionorderid).collect(Collectors.joining(",")));
|
|
|
+ dateVo.setPlanhavematerialdate( ganttVos.stream().filter(data -> data.getPlanhavematerialdate() != null)
|
|
|
+ .max(Comparator.comparing(GanttVos::getPlanhavematerialdate))
|
|
|
+ .map(GanttVos::getPlanhavematerialdate).orElse(null));
|
|
|
// 冲突描述
|
|
|
List<GanttVos> conflictdes = ganttVos.stream().filter(v -> StringUtils.isNotBlank(v.getConflictdes())).collect(Collectors.toList());
|
|
|
if (!conflictdes.isEmpty()) {
|