|
@@ -661,9 +661,9 @@ func SelfSupportForSchoolDataStatisticsExport(req md.SelfSupportForSchoolDataSta |
|
|
xlsx := excelize.NewFile() |
|
|
xlsx := excelize.NewFile() |
|
|
|
|
|
|
|
|
var totalData = map[string]map[string]float64{} |
|
|
var totalData = map[string]map[string]float64{} |
|
|
for k2, vv := range v { |
|
|
|
|
|
for _, v := range deviceList { |
|
|
|
|
|
if k2 == v.Name { |
|
|
|
|
|
|
|
|
for _, device := range deviceList { |
|
|
|
|
|
for k2, vv := range v { |
|
|
|
|
|
if k2 == device.Name { |
|
|
var sumNum, sumAmount = float64(0), float64(0) |
|
|
var sumNum, sumAmount = float64(0), float64(0) |
|
|
xlsx.NewSheet(k2) |
|
|
xlsx.NewSheet(k2) |
|
|
titleList = []string{" 设 备 分 餐 数 据 统 计 表 "} |
|
|
titleList = []string{" 设 备 分 餐 数 据 统 计 表 "} |
|
|