From 42336be3c4f51df2c66bd5e0754e76bd2e73b20d Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Fri, 15 Sep 2023 15:06:55 +0800 Subject: [PATCH] update --- .../hdl/enterprise_manage/hdl_central_kitchen_for_school.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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