anderx пре 7 година
родитељ
комит
365cfff534
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/main/java/com/goafanti/common/mapper/MessageFromSystemMapper.xml

+ 1 - 1
src/main/java/com/goafanti/common/mapper/MessageFromSystemMapper.xml

@@ -700,7 +700,7 @@
 	<if test="uid !=null and uid !=''">
 	and a.aid=#{uid,jdbcType=VARCHAR}
 	</if>
-	group by a.is_read ,b.create_time desc
+	order by a.is_read ,b.create_time desc 
    <if test="page_sql!=null">
 				${page_sql}
 	</if>