TASK:AiDA模块化
This commit is contained in:
@@ -1562,9 +1562,11 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!CollectionUtils.isEmpty(old)) {
|
||||||
collectionElementMapper.deleteBatchIds(old);
|
collectionElementMapper.deleteBatchIds(old);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (!CollectionUtils.isEmpty(moduleSaveDTO.getPrintBoard())){
|
if (!CollectionUtils.isEmpty(moduleSaveDTO.getPrintBoard())){
|
||||||
List<DesignCollectionPrintElementDTO> printBoards = moduleSaveDTO.getPrintBoard();
|
List<DesignCollectionPrintElementDTO> printBoards = moduleSaveDTO.getPrintBoard();
|
||||||
QueryWrapper<CollectionElement> qw = new QueryWrapper<>();
|
QueryWrapper<CollectionElement> qw = new QueryWrapper<>();
|
||||||
@@ -1617,8 +1619,10 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!CollectionUtils.isEmpty(old)) {
|
||||||
collectionElementMapper.deleteBatchIds(old);
|
collectionElementMapper.deleteBatchIds(old);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (!CollectionUtils.isEmpty(moduleSaveDTO.getColorBoard())){
|
if (!CollectionUtils.isEmpty(moduleSaveDTO.getColorBoard())){
|
||||||
List<CollectionColorDTO> colorBoards = moduleSaveDTO.getColorBoard();
|
List<CollectionColorDTO> colorBoards = moduleSaveDTO.getColorBoard();
|
||||||
QueryWrapper<CollectionElement> qw = new QueryWrapper<>();
|
QueryWrapper<CollectionElement> qw = new QueryWrapper<>();
|
||||||
@@ -1644,8 +1648,10 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
|
|||||||
collectionElementMapper.insert(collectionElement);
|
collectionElementMapper.insert(collectionElement);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!CollectionUtils.isEmpty(old)) {
|
||||||
collectionElementMapper.deleteBatchIds(old);
|
collectionElementMapper.deleteBatchIds(old);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (!CollectionUtils.isEmpty(moduleSaveDTO.getSketchBoard())){
|
if (!CollectionUtils.isEmpty(moduleSaveDTO.getSketchBoard())){
|
||||||
QueryWrapper<CollectionElement> qw = new QueryWrapper<>();
|
QueryWrapper<CollectionElement> qw = new QueryWrapper<>();
|
||||||
qw.lambda().eq(CollectionElement::getProjectId, projectId);
|
qw.lambda().eq(CollectionElement::getProjectId, projectId);
|
||||||
@@ -1698,8 +1704,10 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!CollectionUtils.isEmpty(old)) {
|
||||||
collectionElementMapper.deleteBatchIds(old);
|
collectionElementMapper.deleteBatchIds(old);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user