Browse Source

update

add_mode
DengBiao 1 year ago
parent
commit
bd1867bd87
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/admin/svc/svc_data_statisstics.go

+ 2
- 2
app/admin/svc/svc_data_statisstics.go View File

@@ -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


Loading…
Cancel
Save