From 38ffd862319a8867feed0192a0b30ea99732c600 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Wed, 29 Nov 2023 16:36:33 +0800 Subject: [PATCH] update --- .../hdl_central_kitchen_for_school.go | 11 ----------- 1 file changed, 11 deletions(-) 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 6699a11..a91e385 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 @@ -1156,17 +1156,6 @@ func SelfSupportForSchoolOrdRefund(c *gin.Context) { e.OutErr(c, err1.Code, err1.Error()) return } - enterpriseDb := db.EnterpriseDb{} - enterpriseDb.Set() - enterprise, err := enterpriseDb.GetEnterprise(req.EnterpriseId) - if err != nil { - e.OutErr(c, e.ERR_DB_ORM, err.Error()) - return - } - if enterprise == nil { - e.OutErr(c, e.ERR_NO_DATA, "未查询到对应记录") - return - } err = svc2.SelfSupportForSchoolOrdRefund(req) if err != nil {