|
@@ -219,7 +219,7 @@ function M.set_status(msg_body)
|
|
|
return false,string.format("缺少字段: %s.", key)
|
|
|
end
|
|
|
local idString = table.concat(msg_body.id_list, ",")
|
|
|
- local sql = string.format("UPDATE video_product SET status = %d WHERE id IN (%s) ",msg_body.genre,idString)
|
|
|
+ local sql = string.format("UPDATE video_product SET status = %d WHERE id IN (%s) ",msg_body.status,idString)
|
|
|
mysqldtaskbx.Singleton().query(sql)
|
|
|
return true, {}
|
|
|
end
|