select * from tb_tsc_api_invoke_hs where DATE_FORMAT(eventdt, '%Y-%m-%d') >= #{start} and DATE_FORMAT(eventdt, '%Y-%m-%d') <= #{end} order by eventdt asc limit #{firstRow}, #{countPerPage}
select * from tb_tsc_api_invoke_hs where apiId=#{userId} order by eventdt desc limit #{firstRow}, #{countPerPage}

select * from tb_tsc_system_status_hs where DATE_FORMAT(clct_dt,'%Y-%m-%d') >= #{start} and DATE_FORMAT(clct_dt,'%Y-%m-%d') <= #{end} order by clct_dt asc limit #{firstRow}, #{countPerPage}
select * from tb_tsc_system_status_hs where host_name=#{userId} order by clct_dt desc limit #{firstRow}, #{countPerPage}
select count(*) from tb_tsc_api_invoke_hs where DATE_FORMAT(eventdt, '%Y-%m-%d') >= #{start} and DATE_FORMAT(eventdt, '%Y-%m-%d') <= #{end} order by eventdt asc
select count(*) from tb_tsc_api_invoke_hs where apiId=#{userId} order by eventdt desc
select count(*) from tb_tsc_system_status_hs where DATE_FORMAT(clct_dt, '%Y-%m-%d') >= #{start} and DATE_FORMAT(clct_dt, '%Y-%m-%d') <= #{end} order by clct_dt asc
select count(*) from tb_tsc_system_status_hs WHERE host_name=#{userId} order by clct_dt asc
SELECT apiid FROM tb_tsc_api_invoke_hs GROUP BY apiid ORDER BY apiid ASC
SELECT host_name FROM tb_tsc_system_status_hs GROUP BY host_name ORDER BY host_name ASC