瀏覽代碼

update

add_mode
DengBiao 1 年之前
父節點
當前提交
8eb9bf99fc
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go

+ 1
- 1
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
}



Loading…
取消
儲存