904118851 4 mesi fa
parent
commit
c58541c77f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      service/backmgr/filter_data.lua

+ 1 - 1
service/backmgr/filter_data.lua

@@ -104,7 +104,7 @@ function M.search_filter_data(msg_body)
         up_down_param = " ORDER BY " ..up_down_param
     end
 
-    local sql = "SELECT * FROM filter_data WHERE status!=2 "..param..up_down_param.." ORDER BY id DESC"..string.format(" LIMIT %d OFFSET %d ",page_size, offset)
+    local sql = "SELECT * FROM filter_data WHERE status<2 "..param..up_down_param.." ORDER BY id DESC"..string.format(" LIMIT %d OFFSET %d ",page_size, offset)
 
     skynet.error("sql:",sql)