From cf391453935c055a10f063eae4742e482c171f0e Mon Sep 17 00:00:00 2001 From: Mzaxd Date: Mon, 15 May 2023 16:37:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8DBug=E3=80=9069312?= =?UTF-8?q?=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 预览--评论后时间的排序不对 --- .../resources/mybatis/mapper/mysql/ReportUserCommentDao.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adc-da-report/src/main/resources/mybatis/mapper/mysql/ReportUserCommentDao.xml b/adc-da-report/src/main/resources/mybatis/mapper/mysql/ReportUserCommentDao.xml index 52d859b..3ef4b1a 100644 --- a/adc-da-report/src/main/resources/mybatis/mapper/mysql/ReportUserCommentDao.xml +++ b/adc-da-report/src/main/resources/mybatis/mapper/mysql/ReportUserCommentDao.xml @@ -10,8 +10,7 @@ ruc.user_id AS userId, u.USNAME AS userName, ruc.comment AS comment, - ruc.create_time AS createTime, - o.ORG_NAME AS orgName + ruc.create_time AS createTime FROM `ts_report_user_comment` AS ruc INNER JOIN ts_user AS u ON u.USID = ruc.user_id @@ -19,5 +18,6 @@ ruc.del_flag = 0 AND ruc.report_id = #{dto.reportId} + ORDER BY ruc.create_time DESC