DengBiao 7 månader sedan
förälder
incheckning
82af4d9ee2
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      app/admin/svc/svc_data_statisstics.go

+ 2
- 2
app/admin/svc/svc_data_statisstics.go Visa fil

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


Laddar…
Avbryt
Spara