Browse Source

update

add_mode
DengBiao 1 year ago
parent
commit
20efad8b61
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/admin/svc/svc_data_statisstics.go

+ 2
- 2
app/admin/svc/svc_data_statisstics.go View File

@@ -478,7 +478,7 @@ func CentralKitchenForSchoolDataStatisticsExport(req md.CentralKitchenForSchoolD


titleList = []string{startDate.Format("2006-01-02") + "~~" + endDate.Format("2006-01-02") + " 订单表"} titleList = []string{startDate.Format("2006-01-02") + "~~" + endDate.Format("2006-01-02") + " 订单表"}
xlsx.SetSheetRow("Sheet1", "A1", &titleList) xlsx.SetSheetRow("Sheet1", "A1", &titleList)
titleList = []string{"订单号", "学生姓名", "学校", "年级", "班级", "家长电话", "预定日期", "预定数", "订单价格", "支付时间", "订单状态"}
titleList = []string{"订单号", "学生姓名", "学校", "年级", "班级", "家长电话", "预定日期", "预定数", "订单价格", "支付时间", "订单状态"}
xlsx.SetSheetRow("Sheet1", "A2", &titleList) xlsx.SetSheetRow("Sheet1", "A2", &titleList)


xlsx.MergeCell("Sheet1", "A1", "K1") //合并单元格 xlsx.MergeCell("Sheet1", "A1", "K1") //合并单元格
@@ -517,7 +517,7 @@ func CentralKitchenForSchoolDataStatisticsExport(req md.CentralKitchenForSchoolD
ordState = enum.CentralKitchenForSchoolPackageOrdOrdState.String(enum.CentralKitchenForSchoolPackageOrdOrdStateForComplete) ordState = enum.CentralKitchenForSchoolPackageOrdOrdState.String(enum.CentralKitchenForSchoolPackageOrdOrdStateForComplete)
break break
} }
//预定数、预定日期
//预定数、预定日期
var list []*model.CentralKitchenForSchoolUserWithDay var list []*model.CentralKitchenForSchoolUserWithDay
err1 := json.Unmarshal([]byte(v.CentralKitchenForSchoolPackageOrd.WithDayData), &list) err1 := json.Unmarshal([]byte(v.CentralKitchenForSchoolPackageOrd.WithDayData), &list)
if err1 != nil { if err1 != nil {


Loading…
Cancel
Save