|
|
@@ -307,10 +307,10 @@ func SelfSupportForSchoolDataStatisticsExport(req md.SelfSupportForSchoolDataSta |
|
|
|
|
|
|
|
//查询出所有的设备 |
|
|
|
var deviceList []*db.Device |
|
|
|
err := db.Db.Find(&deviceList) |
|
|
|
err := db.Db.Where("enterprise_id != 0").Find(&deviceList) |
|
|
|
if err != nil { |
|
|
|
logx.Error(err) |
|
|
|
println("<<<<SelfSupportForSchoolDataStatisticsExport2>>>>>Error:::", err.Error()) |
|
|
|
println("<<<<SelfSupportForSchoolDataStatisticsExport2>>>>>1111Error:::", err.Error()) |
|
|
|
return |
|
|
|
} |
|
|
|
var deviceListMapping map[string]model.Device |
|
|
|