fix: ne info status in 0,3
This commit is contained in:
@@ -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