|
@@ -323,7 +323,7 @@ function M.set_fee_unit(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 fee_unit = %d WHERE id IN (%s) ",msg_body.default_price,idString)
|
|
|
+ local sql = string.format("UPDATE video_product SET fee_unit = %d WHERE id IN (%s) ",msg_body.fee_unit,idString)
|
|
|
mysqldtaskbx.Singleton().query(sql)
|
|
|
return true, {}
|
|
|
end
|