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