瀏覽代碼

update

add_mode
DengBiao 1 年之前
父節點
當前提交
20efad8b61
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      app/admin/svc/svc_data_statisstics.go

+ 2
- 2
app/admin/svc/svc_data_statisstics.go 查看文件

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

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

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


Loading…
取消
儲存