|
@@ -45,13 +45,13 @@ function M.search_origin_data(msg_body)
|
|
|
|
|
|
local date_param = ""
|
|
local date_param = ""
|
|
if msg_body.start_publish_time~="" and msg_body.end_publish_time~="" then
|
|
if msg_body.start_publish_time~="" and msg_body.end_publish_time~="" then
|
|
- date_param = " AND DATE(publish_time) >= DATE(FROM_UNIXTIME(" .. (msg_body.start_publish_time / 1000) .. ")) AND DATE(publish_time) <= DATE(FROM_UNIXTIME(" .. (msg_body.end_publish_time / 1000) .. "))"
|
|
|
|
|
|
+ date_param = " AND DATE(publish_time) >= DATE(FROM_UNIXTIME(" .. (msg_body.start_publish_time / 1000) .. ")) AND DATE(publish_time) <= DATE(FROM_UNIXTIME(" .. (msg_body.end_publish_time / 1000) .. ")) "
|
|
end
|
|
end
|
|
|
|
|
|
|
|
|
|
local create_date_param = ""
|
|
local create_date_param = ""
|
|
if msg_body.start_create_time~="" and msg_body.end_create_time~="" then
|
|
if msg_body.start_create_time~="" and msg_body.end_create_time~="" then
|
|
- create_date_param = " AND DATE(create_day) >= DATE(FROM_UNIXTIME(" .. (msg_body.start_create_time / 1000) .. ")) AND DATE(create_day) <= DATE(FROM_UNIXTIME(" .. (msg_body.end_create_time / 1000) .. "))"
|
|
|
|
|
|
+ create_date_param = " AND DATE(create_day) >= DATE(FROM_UNIXTIME(" .. (msg_body.start_create_time / 1000) .. ")) AND DATE(create_day) <= DATE(FROM_UNIXTIME(" .. (msg_body.end_create_time / 1000) .. ")) "
|
|
end
|
|
end
|
|
|
|
|
|
local guajian_info_param = ""
|
|
local guajian_info_param = ""
|