From 647cacd769ec3b8165b2346784dc8ee556d3fd77 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Thu, 12 Oct 2023 10:37:12 +0800 Subject: [PATCH] update --- .../hdl/enterprise_manage/hdl_central_kitchen_for_school.go | 2 +- 1 file changed, 1 insertion(+), 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 eb904e9..7ef8432 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 @@ -1023,7 +1023,7 @@ func CentralKitchenForSchoolReserveDetail(c *gin.Context) { And("central_kitchen_for_school_user_with_day.kind =?", centralKitchenForSchoolPackageOrdForReserve.Kind). Join("LEFT", "central_kitchen_for_school_user_refund_day", "central_kitchen_for_school_user_with_day.id = central_kitchen_for_school_user_refund_day.records_id"). //Distinct("central_kitchen_for_school_user_with_day.*", "central_kitchen_for_school_user_refund_day.refund_date", "central_kitchen_for_school_user_refund_day.id"). - Desc("central_kitchen_for_school_user_refund_day.id"). + Asc("central_kitchen_for_school_user_with_day.id"). Find(&m) if err != nil { e.OutErr(c, e.ERR_DB_ORM, err.Error())