DengBiao il y a 7 mois
Parent
révision
82af4d9ee2
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      app/admin/svc/svc_data_statisstics.go

+ 2
- 2
app/admin/svc/svc_data_statisstics.go Voir le fichier

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


Chargement…
Annuler
Enregistrer