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