Explorar el Código

update

add_mode
DengBiao hace 1 año
padre
commit
8eb9bf99fc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 Ver fichero

@@ -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
}



Cargando…
Cancelar
Guardar