DengBiao 7 kuukautta sitten
vanhempi
commit
82af4d9ee2
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      app/admin/svc/svc_data_statisstics.go

+ 2
- 2
app/admin/svc/svc_data_statisstics.go Näytä tiedosto

@@ -452,11 +452,11 @@ func SelfSupportForSchoolDataStatisticsExport(req md.SelfSupportForSchoolDataSta
xlsx.CopySheet(1, sheetIndex)
xlsx.SetSheetRow(k, "A1", &[]interface{}{"商 家 分 餐 数 据 统 计 表 " + "(" + req.StartDate + "至" + req.EndDate + ")"})
j := 4 //表头前三行被占用了,只能从第四行开始
var breakFastTotal, lunchTotal, dinnerTotal, supperTotal, totalTotal float64
var breakFastAmountTotal, lunchAmountTotal, dinnerAmountTotal, supperAmountTotal, totalAmountTotal float64
for kk, vv := range v {
var startRow = 0
var endRow = 0
var breakFastTotal, lunchTotal, dinnerTotal, supperTotal, totalTotal float64
var breakFastAmountTotal, lunchAmountTotal, dinnerAmountTotal, supperAmountTotal, totalAmountTotal float64
for _, device := range deviceNameArr {
for kkk, vvv := range vv {
if kkk == "" {


Ladataan…
Peruuta
Tallenna