904118851 il y a 3 mois
Parent
commit
38f4edab5f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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)