浏览代码

修复数据推送bug

pengdi@zoniot.com 4 年之前
父节点
当前提交
e18aaaccbd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      smart-city-platform/src/main/resources/mapper/PushLogMapper.xml

+ 1 - 1
smart-city-platform/src/main/resources/mapper/PushLogMapper.xml

@@ -71,7 +71,7 @@
 		where 
 			push_content = #{pushContent}
 		and push_config_id = #{configId}
-		order by push_time limit 1
+		order by push_time desc limit 1
 	</select>
 
 </mapper>