From d989e2c3d930d58162aefc56eec681111dfd7d5b Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期一, 26 十二月 2022 17:49:13 +0800
Subject: [PATCH] fix: 查询材料为空
---
src/main/resources/mapper/ReportDao.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/ReportDao.xml b/src/main/resources/mapper/ReportDao.xml
index d83adb9..2cf4f1b 100644
--- a/src/main/resources/mapper/ReportDao.xml
+++ b/src/main/resources/mapper/ReportDao.xml
@@ -19,7 +19,7 @@
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">
--
Gitblit v1.8.0