From 34585765970418096cd642d85950b43382a58327 Mon Sep 17 00:00:00 2001
From: baizonghao <1719256278@qq.com>
Date: 星期三, 22 三月 2023 11:25:15 +0800
Subject: [PATCH] 1111
---
src/main/resources/mapper/ReportDao.xml | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/ReportDao.xml b/src/main/resources/mapper/ReportDao.xml
index d3845e6..c5917a8 100644
--- a/src/main/resources/mapper/ReportDao.xml
+++ b/src/main/resources/mapper/ReportDao.xml
@@ -25,7 +25,7 @@
<if test="reportParamDto.isInGroup != null">
and r.is_in_group = ${reportParamDto.isInGroup}
</if>
- and r.status = 0
+ and (r.status = 0 or r.status = 2)
</where>
order by r.ctime DESC
</select>
@@ -101,5 +101,12 @@
GROUP BY
t2.group_id
</select>
+ <select id="selectReportByReportId" resultType="com.example.jz.modle.entity.Report">
+ SELECT
+ *
+ FROM
+ `report`
+ WHERE id =#{id}
+ </select>
</mapper>
--
Gitblit v1.8.0