大赛管理功能
This commit is contained in:
parent
025888cbd2
commit
9bf2fede2c
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user