bugfix:redesign bug;
This commit is contained in:
@@ -299,14 +299,14 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
|
||||
collectionId = collectionService.saveCollection(userInfo.getId(), designDTO.getTimeZone(), designDTO.getMoodTemplateId(), designDTO.getMoodboardPostion());
|
||||
}else {
|
||||
collectionId = collectionIdParam;
|
||||
Collection byId = collectionService.getById(collectionIdParam);
|
||||
// Collection byId = collectionService.getById(collectionIdParam);
|
||||
// if (!designDTO.getMoodboardPostion().equals(byId.getMoodboardPosition())) {
|
||||
// byId.setMoodboardPosition(designDTO.getMoodboardPostion());
|
||||
// }
|
||||
if (!designDTO.getMoodTemplateId().equals(byId.getMoodTemplateId())) {
|
||||
byId.setMoodTemplateId(designDTO.getMoodTemplateId());
|
||||
}
|
||||
collectionService.updateById(byId);
|
||||
// if (!designDTO.getMoodTemplateId().equals(byId.getMoodTemplateId())) {
|
||||
// byId.setMoodTemplateId(designDTO.getMoodTemplateId());
|
||||
// }
|
||||
// collectionService.updateById(byId);
|
||||
}
|
||||
List<Long> elementIds = getElementId(elementVO);
|
||||
//批量关联element 到 collection
|
||||
|
||||
Reference in New Issue
Block a user