From 428eee9df5f8885ab71d7cd273f5889b8c81e1dc Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期四, 31 十月 2024 16:49:30 +0800 Subject: [PATCH] 2024-10-31 优化代码 --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeIssueReportMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeIssueReportMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeIssueReportMapper.xml index 7c433e3..3183e50 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeIssueReportMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeIssueReportMapper.xml @@ -175,6 +175,7 @@ SELECT COUNT(*) AS recordCount FROM se_issue_report rpt LEFT JOIN se_client cli ON cli.id = rpt.client_id + LEFT JOIN se_report_reply rpy ON rpy.report_id = rpt.id <where> AND rpt.state != 3 @@ -211,6 +212,7 @@ rpt.images, rpt.audios, rpt.videos, + rpy.reply_time AS replyTime, rpt.state AS stateId, CASE WHEN rpt.state = 1 THEN '鏈彈鐞�' @@ -218,6 +220,7 @@ END AS state FROM se_issue_report rpt LEFT JOIN se_client cli ON cli.id = rpt.client_id + LEFT JOIN se_report_reply rpy ON rpy.report_id = rpt.id <where> AND rpt.state != 3 -- Gitblit v1.8.0