Explorar o código

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

pengdi@zoniot.com %!s(int64=4) %!d(string=hai) anos
pai
achega
878db87553

+ 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