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) }