看板排序

This commit is contained in:
2025-11-27 13:09:22 +08:00
parent ff4f6e3a37
commit 050549eb69

View File

@@ -140,7 +140,8 @@ public class ZtKanbanlaneServiceImpl extends ServiceImpl<ZtKanbanlaneMapper, ZtK
} }
} }
//排序 //排序
ztStoryDTOS.sort(Comparator.comparing(ZtStoryDTO::getPlanEndDate, Comparator.nullsLast(Comparator.naturalOrder())) ztStoryDTOS.sort(Comparator.comparing(ZtStoryDTO::getTestPlanEndTime, Comparator.nullsLast(Comparator.naturalOrder()))
.thenComparing(ZtStoryDTO::getDevelPlanEndTime, Comparator.nullsLast(Comparator.naturalOrder()))
.thenComparing(ZtStoryDTO::getPri, Comparator.nullsLast(Comparator.naturalOrder())).thenComparing(ZtStoryDTO::getId)); .thenComparing(ZtStoryDTO::getPri, Comparator.nullsLast(Comparator.naturalOrder())).thenComparing(ZtStoryDTO::getId));
d.setList(ztStoryDTOS); d.setList(ztStoryDTOS);
}else if("bug".equalsIgnoreCase(d.getCardType())){ }else if("bug".equalsIgnoreCase(d.getCardType())){