Browse Source

修改 气象 查询

develop
王兴琳 7 months ago
parent
commit
4d45884c04
  1. 7
      zc-business/src/main/resources/mapper/business/DcMeteorologicalDetectorDataMapper.xml

7
zc-business/src/main/resources/mapper/business/DcMeteorologicalDetectorDataMapper.xml

@ -175,7 +175,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
date;
</select>
<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
<where>

Loading…
Cancel
Save