|
@@ -231,7 +231,7 @@ function M.search_tg_data(msg_body)
|
|
|
|
|
|
local material_id_param = ""
|
|
|
if msg_body.material_id~="" then
|
|
|
- material_id_param = string.format(" AND material_id = %d ",tonumber(msg_body.material_id))
|
|
|
+ material_id_param = string.format(" AND id = %d ",tonumber(msg_body.material_id))
|
|
|
end
|
|
|
|
|
|
local oce_material_param = ""
|