anderx лет назад: 7
Родитель
Сommit
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 !=''">
 	<if test="uid !=null and uid !=''">
 	and a.aid=#{uid,jdbcType=VARCHAR}
 	and a.aid=#{uid,jdbcType=VARCHAR}
 	</if>
 	</if>
-	group by a.is_read ,b.create_time desc
+	order by a.is_read ,b.create_time desc 
    <if test="page_sql!=null">
    <if test="page_sql!=null">
 				${page_sql}
 				${page_sql}
 	</if>
 	</if>