TASK:aida redesign不修改位置信息√接口修改;

This commit is contained in:
shahaibo
2024-09-30 15:41:29 +08:00
parent 63a120c652
commit 28e67db78d

View File

@@ -300,9 +300,9 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
}else {
collectionId = collectionIdParam;
Collection byId = collectionService.getById(collectionIdParam);
if (!designDTO.getMoodboardPostion().equals(byId.getMoodboardPosition())) {
byId.setMoodboardPosition(designDTO.getMoodboardPostion());
}
// if (!designDTO.getMoodboardPostion().equals(byId.getMoodboardPosition())) {
// byId.setMoodboardPosition(designDTO.getMoodboardPostion());
// }
if (!designDTO.getMoodTemplateId().equals(byId.getMoodTemplateId())) {
byId.setMoodTemplateId(designDTO.getMoodTemplateId());
}