大赛管理功能

This commit is contained in:
tiger_zhou 2024-02-27 09:26:24 +08:00
parent 025888cbd2
commit 9bf2fede2c
1 changed files with 1 additions and 2 deletions

View File

@ -132,7 +132,7 @@ public class RacePaperService {
paper.setUpdateTime(LocalDateTime.now());
paper.setUpdaterId(user.getId());
paper.setConfigs(moduleVO.toByteArray());
this.paperDAO.updateByPrimaryKey(paper);
this.paperDAO.updateByPrimaryKeySelective(paper);
}
public void copy(Long id, AccountVO user) {
@ -146,7 +146,6 @@ public class RacePaperService {
paper.setUpdaterId(user.getId());
paper.setCreateTime(now);
paper.setUpdateTime(now);
paper.setConfigs(paper.getConfigs());
this.paperDAO.insert(paper);
}
}