|
@@ -536,7 +536,7 @@ func CentralKitchenForSchoolStudentAdmission(req md.CentralKitchenForSchoolStude |
|
|
|
|
|
|
|
|
func CentralKitchenForSchoolStudentAdmissionByClass(req md.CentralKitchenForSchoolStudentAdmissionByClass) (err error) { |
|
|
func CentralKitchenForSchoolStudentAdmissionByClass(req md.CentralKitchenForSchoolStudentAdmissionByClass) (err error) { |
|
|
// 删除 class_with_user 记录 |
|
|
// 删除 class_with_user 记录 |
|
|
_, err = db.Db.In("class_id = ?", req.ClassIds).Delete(model.ClassWithUser{}) |
|
|
|
|
|
|
|
|
_, err = db.Db.In("class_id", req.ClassIds).Delete(model.ClassWithUser{}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|