Ver a proveniência

update

add_mode
DengBiao há 1 ano
ascendente
cometimento
20efad8b61
1 ficheiros alterados com 2 adições e 2 eliminações
  1. +2
    -2
      app/admin/svc/svc_data_statisstics.go

+ 2
- 2
app/admin/svc/svc_data_statisstics.go Ver ficheiro

@@ -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 {


Carregando…
Cancelar
Guardar