فهرست منبع

推送户表数据改为一天一条by pengdi@2020/11/27

pengdi@zoniot.com 4 سال پیش
والد
کامیت
878db87553
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