Commit 20243f5a authored by Ryan Loong's avatar Ryan Loong

fix 清空点名次数

parent e82c0cbc
......@@ -144,10 +144,11 @@ public class StudentPointService {
public void removeAll() {
studentPointInfoMapper.updateByExampleSelective(new StudentPointInfo(){{
setUpdateTime(LocalDateTime.now());
setDeleted(StudentPointInfo.IS_DELETED);
setDeleted(null);
}} , new StudentPointInfoExample().createCriteria()
.andDeletedEqualTo(StudentPointInfo.NOT_DELETED)
.example());
.example(),
StudentPointInfo.Column.updateTime, StudentPointInfo.Column.deleted);
}
@Transactional(rollbackFor = Exception.class)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment