소스 검색

修复数据推送bug

pengdi@zoniot.com 5 년 전
부모
커밋
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>