|
@ -175,7 +175,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
date; |
|
|
date; |
|
|
</select> |
|
|
</select> |
|
|
<select id="selectStatisticsTime" resultMap="countMap" resultType="map"> |
|
|
<select id="selectStatisticsTime" resultMap="countMap" resultType="map"> |
|
|
SELECT dc.visibility,dc.temperature,dc.create_time |
|
|
SELECT dc.visibility,dc.temperature,dc.create_time, |
|
|
|
|
|
CONCAT( |
|
|
|
|
|
LPAD(HOUR(dc.create_time), 2, '0'), |
|
|
|
|
|
':', |
|
|
|
|
|
LPAD(MINUTE(dc.create_time), 2, '0') |
|
|
|
|
|
) AS date |
|
|
|
|
|
|
|
|
FROM dc_meteorological_detector_data dc |
|
|
FROM dc_meteorological_detector_data dc |
|
|
<where> |
|
|
<where> |
|
|