|
|
@@ -306,7 +306,7 @@ func SelfSupportForSchoolDataStatisticsExport(req md.SelfSupportForSchoolDataSta |
|
|
|
downloadPath = "/export/self_support_for_school/" + fileName |
|
|
|
|
|
|
|
//查询出所有的设备 |
|
|
|
var deviceList []*db.Device |
|
|
|
var deviceList []*model.Device |
|
|
|
err := db.Db.Where("enterprise_id != 0").Find(&deviceList) |
|
|
|
if err != nil { |
|
|
|
logx.Error(err) |
|
|
|