dengbiao 6 miesięcy temu
rodzic
commit
5832063fbf
2 zmienionych plików z 1 dodań i 0 usunięć
  1. +1
    -0
      app/admin/svc/svc_data_statisstics.go
  2. BIN
     

+ 1
- 0
app/admin/svc/svc_data_statisstics.go Wyświetl plik

@@ -291,6 +291,7 @@ func SelfSupportForSchoolDataStatisticsExport(req md.SelfSupportForSchoolDataSta
for k, v := range data {
xlsx.NewSheet(k) //1、新建表格
xlsx.CopySheet(1, sheetIndex)
xlsx.SetSheetRow(k, "A1", &[]interface{}{"教 室 消 费 统 计 表 " + "(" + req.StartDate + "至" + req.EndDate + ")"})
var userTotal, breakFastTotal, lunchTotal, dinnerTotal, supperTotal, totalTotal int64
var breakFastAmountTotal, lunchAmountTotal, dinnerAmountTotal, supperAmountTotal, totalAmountTotal float64
for kk, vv := range v {



Ładowanie…
Anuluj
Zapisz