904118851 1 жил өмнө
parent
commit
df61b65839

+ 1 - 1
service/dbmgr/init.lua

@@ -1163,7 +1163,7 @@ end
 s.resp.search_generate_video_file = function(msg_body,fd)
     skynet.fork(function(_fd)
         -- tools.dump(msg_body)
-        local sql = string.format("SELECT * FROM generate_video_list_tab WHERE   video_name LIKE '%%%s%%'  AND is_delete = 0 AND video_stype = %d AND user_id = %d" ,msg_body.search_content,msg_body.video_stype,msg_body.user_id)
+        local sql = string.format("SELECT * FROM generate_video_list_tab WHERE   book_name LIKE '%%%s%%'  AND is_delete = 0 AND video_stype = %d AND user_id = %d" ,msg_body.search_content,msg_body.video_stype,msg_body.user_id)
         -- skynet.error("sql",sql)
         local res = db:query(sql)
         if res and #res > 0 then