zhubaomin
2024-11-01 e6f64dc1c6a24c3f6f38fcb312ed45aa9d57b68f
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,12 +212,15 @@
        rpt.images,
        rpt.audios,
        rpt.videos,
        rpy.reply_time AS replyTime,
        rpt.state AS stateId,
        CASE
            WHEN rpt.state = 1 THEN '未受理'
            WHEN rpt.state = 2 THEN '已受理'
        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