904118851 9 月之前
父节点
当前提交
a78d71297a
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      service/backmgr/filter_task.lua

+ 3 - 3
service/backmgr/filter_task.lua

@@ -142,13 +142,13 @@ function M.get_tui_guang(msg_body)
 end
 
 
---根据素材id搜索 material_id
+--根据素材id搜索 material_id 
 function M.search_zeng_liang_by_material_id(msg_body)
-    local isok ,key =  tools.checkData({"material_id"},msg_body)
+    local isok ,key =  tools.checkData({"oce_material_id"},msg_body)
     if not isok then
         return false,string.format("缺少字段: %s.", key)
     end
-    local sql = string.format("SELECT * FROM video_material  WHERE material_id = %d  LIMIT 1 ", msg_body.material_id)
+    local sql = string.format("SELECT * FROM video_material  WHERE oce_material_id = %d  LIMIT 1 ", msg_body.oce_material_id)
     local res;
     res = mysqldbx.query(sql)
     local info = {}