fix: last learn bug

This commit is contained in:
lbaf23 2021-08-04 11:17:20 +08:00
parent 7823fa3531
commit a2558ea396
1 changed files with 0 additions and 1 deletions

View File

@ -140,7 +140,6 @@ func (l *LearnSection) Update() (err error) {
Update(l)
_, err = (&LastLearn{}).GetEngine().
Where("student_id = ?", l.StudentId).
Where("section_id = ?", l.SectionId).
Update(&LastLearn{
StudentId: l.StudentId,
SectionId: l.SectionId,