Skip to content

Commit

Permalink
🚑 学生互评打分时数据更新错误
Browse files Browse the repository at this point in the history
  • Loading branch information
loheagn committed Mar 18, 2022
1 parent 4b9ade5 commit dfb4519
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/kotlin/cn/edu/buaa/scs/service/Peer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ class PeerService(val call: ApplicationCall) : IService {
mysql.update(Assignments) {
set(it.peerScore, peerScore)
set(it.peerCompleted, peerScore != null)
where { it.id.eq(task.assignmentId) }
}
}
}
Expand Down

0 comments on commit dfb4519

Please sign in to comment.