From e2e98d7e05ed7f9f59ddceab76b88e1f1fca0ce2 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Sat, 7 Oct 2023 11:58:12 +0800 Subject: [PATCH] update --- app/db/db_central_kitchen_for_school_user_with_day.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/db/db_central_kitchen_for_school_user_with_day.go b/app/db/db_central_kitchen_for_school_user_with_day.go index 13cbb6d..10acadd 100644 --- a/app/db/db_central_kitchen_for_school_user_with_day.go +++ b/app/db/db_central_kitchen_for_school_user_with_day.go @@ -43,7 +43,7 @@ func (centralKitchenForSchoolUserWithDayDb *CentralKitchenForSchoolUserWithDayDb var m []*CentralKitchenForSchoolUserWithDayWithCentralKitchenForSchoolUserRefundDay if err := centralKitchenForSchoolUserWithDayDb.Db.Where("central_kitchen_for_school_user_with_day.ord_no =?", ordNo). 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"). - Desc("central_kitchen_for_school_user_with_day.id"). + Asc("central_kitchen_for_school_user_with_day.id"). Find(&m); err != nil { return nil, logx.Error(err) }