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>