Commit 80b1ba28 by 杨林龙

完成Dubbo基本开发 yangll

1 parent e9549c0a
......@@ -48,21 +48,21 @@
</select>
<select id="getApiCallGraphData" resultType="java.util.Map">
select b.api_classification ,
select b.api_classification as apiClassification,
count(a.id) as num
from t_platform_api_call a
left join t_platform_api b
on a.api_id = b.id
group by b.api_classification
group by apiClassification
</select>
<select id="getApiCallTrendList" resultType="java.util.Map">
select
date_format(create_time,'%Y-%m-%d') as create_time,
date_format(create_time,'%Y-%m-%d') as createTime,
count(id) as num
from t_platform_api_call
where create_time >= #{statisticStartTime,jdbcType=TIMESTAMP}
and create_time &lt; #{statisticEndTime,jdbcType=TIMESTAMP}
group by create_time
group by createTime
</select>
</mapper>
\ No newline at end of file
......@@ -67,10 +67,10 @@
<select id="getDeviceGraphData" resultType="java.util.Map">
select
device_type,
device_type as deviceType,
count(id) as num
from t_platform_device
group by device_type
group by deviceType
</select>
<select id="getDeviceCountAuth" resultType="java.lang.Integer">
......@@ -87,12 +87,12 @@
<select id="getDeviceAccessTrendList" resultType="java.util.Map">
select
date_format(activat_time,'%Y-%m-%d') as activat_time,
date_format(activat_time,'%Y-%m-%d') as activatTime,
count(id) as num
from t_platform_device
where activat_time >= #{statisticStartTime,jdbcType=TIMESTAMP}
and activat_time &lt; #{statisticEndTime,jdbcType=TIMESTAMP}
group by activat_time
group by activatTime
</select>
<select id="getDeviceActivationStatistic" resultType="map">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!