瀏覽代碼

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

Xiaojh 4 年之前
父節點
當前提交
741d31d00b
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      smart-city-platform/src/main/resources/mapper/DeviceDataDimMapper.xml

+ 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