904118851 1 년 전
부모
커밋
df61b65839
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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