数据迁移代码

This commit is contained in:
2025-08-31 14:16:08 +08:00
parent c93ae85b65
commit c649907222
2 changed files with 114 additions and 20 deletions

View File

@@ -2425,6 +2425,7 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
}else {
CollectionElement collectionElement = collectionElementMapper.selectById(board.getId());
collectionElement.setProjectId(projectId);
collectionElement.setLevel2Type(board.getLevel2Type());
collectionElement.setHasPin(board.getIsPin());
collectionElement.setUpdateDate(new Date());
collectionElementMapper.updateById(collectionElement);