|
|
@@ -198,7 +198,7 @@ func CentralKitchenForSchoolMyReserve(userIdentityId int, date, startDate, endDa |
|
|
|
totalLunch++ |
|
|
|
dateMap[v.Date].LunchTotal++ |
|
|
|
if v.State == enum.CentralKitchenForSchoolUserWithDayStateForWait { |
|
|
|
dateMap[v.Date].LunchOrdNoList = append(dateMap[v.Date].BreakfastOrdNoList, struct { |
|
|
|
dateMap[v.Date].LunchOrdNoList = append(dateMap[v.Date].LunchOrdNoList, struct { |
|
|
|
OutTradeNo string `json:"out_trade_no" label:"业务订单号"` |
|
|
|
Id int `json:"id" label:"就餐记录id"` |
|
|
|
}{OutTradeNo: v.OrdNo, Id: v.Id}) |
|
|
@@ -208,7 +208,7 @@ func CentralKitchenForSchoolMyReserve(userIdentityId int, date, startDate, endDa |
|
|
|
dateMap[v.Date].DinnerTotal++ |
|
|
|
totalDinner++ |
|
|
|
if v.State == enum.CentralKitchenForSchoolUserWithDayStateForWait { |
|
|
|
dateMap[v.Date].DinnerOrdNoList = append(dateMap[v.Date].BreakfastOrdNoList, struct { |
|
|
|
dateMap[v.Date].DinnerOrdNoList = append(dateMap[v.Date].DinnerOrdNoList, struct { |
|
|
|
OutTradeNo string `json:"out_trade_no" label:"业务订单号"` |
|
|
|
Id int `json:"id" label:"就餐记录id"` |
|
|
|
}{OutTradeNo: v.OrdNo, Id: v.Id}) |
|
|
|