fix: ne info status in 0,3
This commit is contained in:
1 parent
06e29df8fa
commit
8239977c58
4 files changed
+8
-8
No files matched your search
+1
-1
@@ -117,7 +117,7 @@ func XormGetAllNeInfo(nes *[]NeInfo) (*[]NeInfo, error) {
|
||||
log.Debug("XormGetAllNeInfo processing... ")
|
||||
|
||||
ne := new(NeInfo)
|
||||
rows, err := dbClient.xEngine.Table("ne_info").Where("status='0'").Rows(ne)
|
||||
rows, err := dbClient.xEngine.Table("ne_info").Where("status in ('0','3')").Rows(ne)
|
||||
if err != nil {
|
||||
log.Error("Failed to get table ne_info from database:", err)
|
||||
return nil, err
|
||||
|
||||
Reference in new issue
Block a user