From 382c9fa680114b16e5b6f1fef834f4be3268cd35 Mon Sep 17 00:00:00 2001 From: wl <173@qq.com> Date: 星期一, 26 十二月 2022 18:09:53 +0800 Subject: [PATCH] fix: 群消息查询 --- src/main/resources/mapper/ReportDao.xml | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/ReportDao.xml b/src/main/resources/mapper/ReportDao.xml index a11e47b..2cf4f1b 100644 --- a/src/main/resources/mapper/ReportDao.xml +++ b/src/main/resources/mapper/ReportDao.xml @@ -19,12 +19,13 @@ and r.report_materials is not null </if> <if test="reportParamDto.havaMaterial == 0"> - and r.report_materials is null + and (r.report_materials is null or r.report_materials='') </if> </if> <if test="reportParamDto.isInGroup != null"> and r.is_in_group = ${reportParamDto.isInGroup} </if> + and r.status = 0 </where> order by r.ctime DESC </select> -- Gitblit v1.8.0