|
|
@@ -725,6 +725,15 @@ func CentralKitchenForSchoolDataStatisticsExport(req md.CentralKitchenForSchoolD |
|
|
|
|
|
|
|
j := 3 //表头前两行用了,只能从第三行开始 |
|
|
|
var sumClassNum, sumBreakfast, sumLunch, sumDinner = int64(0), int64(0), int64(0), int64(0) |
|
|
|
|
|
|
|
tmpEnterpriseDb := db.EnterpriseDb{} |
|
|
|
tmpEnterpriseDb.Set() |
|
|
|
tmpEnterprise, err11 := tmpEnterpriseDb.GetEnterpriseByName(k1) |
|
|
|
if err11 != nil { |
|
|
|
logx.Error(err11) |
|
|
|
println("<<<<CentralKitchenForSchoolDataStatisticsExport3>>>>>Error:::", err11.Error()) |
|
|
|
panic(err11) |
|
|
|
} |
|
|
|
tmpClassDb := db.ClassDb{} |
|
|
|
tmpClassDb.Set(0) |
|
|
|
classList, err := tmpClassDb.FindClassAscByEnterprise(tmpEnterprise.Id) |
|
|
|