904118851 hace 3 meses
padre
commit
38f4edab5f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      service/backmgr/no_filter_origin.lua

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