904118851 hai 1 ano
pai
achega
df61b65839
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      service/dbmgr/init.lua

+ 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