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