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