904118851 3 сар өмнө
parent
commit
38f4edab5f

+ 1 - 1
service/backmgr/no_filter_origin.lua

@@ -45,7 +45,7 @@ function M.search_no_filter_origin_data(msg_body)
 
     local res =  mysqldbx.query(sql)
 
-    sql =  "SELECT  COUNT(*) AS total  FROM "..table_name
+    sql =  "SELECT  COUNT(*) AS total  FROM "..table_name.." WHERE 1=1 "..param
 
     skynet.error("sql2:",sql)