Browse Source

Merge branch '20200908' of http://114.135.61.188:53000/ZONIOT/water-iot into 20200908

Xiaojh 4 years ago
parent
commit
741d31d00b

+ 2 - 0
smart-city-platform/src/main/resources/mapper/DeviceDataDimMapper.xml

@@ -325,6 +325,8 @@
         ) t1
         group by
         t1.send_time
+        order by t1.send_time desc
+        limit 1
     </select>
     <select id="queryDataWithPage" resultType="com.bz.smart_city.entity.DeviceDataDim">
     	SELECT