forked from Open-CT/OpenPBL
fix: last learn bug
This commit is contained in:
parent
7823fa3531
commit
a2558ea396
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue