fix: ne info status in 0,3

This commit is contained in:
2024-01-03 10:10:25 +08:00
parent 06e29df8fa
commit 8239977c58
4 changed files with 8 additions and 8 deletions

View File

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