DengBiao 1 anno fa
parent
commit
bd1867bd87
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      app/admin/svc/svc_data_statisstics.go

+ 2
- 2
app/admin/svc/svc_data_statisstics.go Vedi 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


Caricamento…
Annulla
Salva