From 8eb9bf99fc2e74942f3af414ff34fd4921f9caf0 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Fri, 22 Sep 2023 20:50:06 +0800 Subject: [PATCH] update --- .../svc/enterprise_manage/svc_central_kitchen_for_school.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go b/app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go index 8097352..a1b8c41 100644 --- a/app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go +++ b/app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go @@ -536,7 +536,7 @@ func CentralKitchenForSchoolStudentAdmission(req md.CentralKitchenForSchoolStude func CentralKitchenForSchoolStudentAdmissionByClass(req md.CentralKitchenForSchoolStudentAdmissionByClass) (err error) { // 删除 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 }