diff --git a/app/admin/hdl/enterprise_manage/hdl_central_kitchen_for_school.go b/app/admin/hdl/enterprise_manage/hdl_central_kitchen_for_school.go index 4f8a6ba..04186a1 100644 --- a/app/admin/hdl/enterprise_manage/hdl_central_kitchen_for_school.go +++ b/app/admin/hdl/enterprise_manage/hdl_central_kitchen_for_school.go @@ -856,8 +856,9 @@ func CentralKitchenForSchoolReserveUpdateStudent(c *gin.Context) { } centralKitchenForSchoolPackageOrdForReserve.UserIdentityId = req.UserIdentityId centralKitchenForSchoolPackageOrdForReserve.UserIdentityName = identity.Name + centralKitchenForSchoolPackageOrdForReserve.EnterpriseId = identity.EnterpriseId centralKitchenForSchoolPackageOrdForReserve.UpdateAt = time.Now().Format("2006-01-02 15:04:05") - updateAffected, err := centralKitchenForSchoolPackageOrdForReserveDb.CentralKitchenForSchoolPackageOrdForReserveUpdate(centralKitchenForSchoolPackageOrdForReserve, "user_identity_name", "user_identity_id", "update_at") + updateAffected, err := centralKitchenForSchoolPackageOrdForReserveDb.CentralKitchenForSchoolPackageOrdForReserveUpdate(centralKitchenForSchoolPackageOrdForReserve, "enterprise_id", "user_identity_name", "user_identity_id", "update_at") if err != nil { e.OutErr(c, e.ERR_DB_ORM, err.Error()) return