BUGFIX:moodboard edit;
This commit is contained in:
@@ -61,6 +61,6 @@ public class DesignCollectionDTO {
|
||||
@ApiModelProperty("python端design进程ID")
|
||||
private String processId;
|
||||
|
||||
private String moodboardPostion;
|
||||
private String moodboardPosition;
|
||||
|
||||
}
|
||||
|
||||
@@ -48,12 +48,12 @@ public class CollectionServiceImpl extends ServiceImpl<CollectionMapper, Collect
|
||||
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Override
|
||||
public Long saveCollection(Long accountId, String timeZone, String moodTemplateId, String moodboardPostion) {
|
||||
public Long saveCollection(Long accountId, String timeZone, String moodTemplateId, String moodboardPosition) {
|
||||
Collection collection = new Collection();
|
||||
collection.setAccountId(accountId);
|
||||
collection.setCreateDate(DateUtil.getByTimeZone(timeZone));
|
||||
collection.setMoodTemplateId(moodTemplateId);
|
||||
collection.setMoodboardPosition(moodboardPostion);
|
||||
collection.setMoodboardPosition(moodboardPosition);
|
||||
if (collectionMapper.insert(collection) <= 0) {
|
||||
throw new BusinessException("save.collection.failed");
|
||||
}
|
||||
|
||||
@@ -296,7 +296,7 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
|
||||
//保存collection
|
||||
Long collectionId;
|
||||
if (null == collectionIdParam) {
|
||||
collectionId = collectionService.saveCollection(userInfo.getId(), designDTO.getTimeZone(), designDTO.getMoodTemplateId(), designDTO.getMoodboardPostion());
|
||||
collectionId = collectionService.saveCollection(userInfo.getId(), designDTO.getTimeZone(), designDTO.getMoodTemplateId(), designDTO.getMoodboardPosition());
|
||||
}else {
|
||||
collectionId = collectionIdParam;
|
||||
// Collection byId = collectionService.getById(collectionIdParam);
|
||||
|
||||
Reference in New Issue
Block a user