Commit 843813b9 authored by szh's avatar szh

update

parent 817ec419
......@@ -78,7 +78,7 @@ func (courseListService *CourseListService)GetCourseListInfoList(info courseReq.
}
for _, v := range courseLists {
var cs course.CourseList
err = global.GVA_DB.Model(&course.CourseSignup{}).Where("uid = ? and cid = ?",cu.ID,v.ID).First(&cs).Error
err = global.GVA_DB.Debug().Model(&course.CourseSignup{}).Where("uid = ? and cid = ?",cu.ID,v.ID).First(&cs).Error
if err != nil && err != gorm.ErrRecordNotFound{
return
}
......
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