feat: 创建项目阶段与ui布局

This commit is contained in:
2025-11-19 14:32:21 +08:00
parent f13ef3232b
commit dd3fd18132
3 changed files with 479 additions and 10 deletions

View File

@@ -163,6 +163,7 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
for (StageDetail stageDetail : details) {
ProjectRequestVo.RequestDescription req2 = new ProjectRequestVo.RequestDescription();
BeanUtil.copyProperties(stageDetail, req2);
req2.setDays(CommonTimeFormatUtil.calculateDaysBetween(req2.getStartTime(), req2.getEndTime()));
if (req.getDetailId().equals(req2.getParentDetailId())) {
if (ObjectUtil.isEmpty(req.getChildren())) {
req.setChildren(new ArrayList<>());