DengBiao před 1 rokem
rodič
revize
7430dc43db
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. +1
    -0
      app/admin/hdl/enterprise_manage/hdl_central_kitchen_for_school.go

+ 1
- 0
app/admin/hdl/enterprise_manage/hdl_central_kitchen_for_school.go Zobrazit soubor

@@ -1019,6 +1019,7 @@ func CentralKitchenForSchoolReserveDetail(c *gin.Context) {
var m []*db.CentralKitchenForSchoolUserWithDayWithCentralKitchenForSchoolUserRefundDay
err = db.Db.Where("central_kitchen_for_school_user_with_day.ord_no =?", centralKitchenForSchoolPackageOrdForReserve.OutTradeNo).
Where("central_kitchen_for_school_user_with_day.date >=? and central_kitchen_for_school_user_with_day.date <=?", centralKitchenForSchoolPackageOrdForReserve.MealTimeStart, centralKitchenForSchoolPackageOrdForReserve.MealTimeEnd).
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").
Find(&m)
if err != nil {


Načítá se…
Zrušit
Uložit