From b17f234c9879284c5f35f80e21ef6fa219235143 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Tue, 27 Jun 2023 11:31:00 +0800
Subject: [PATCH] 任务导出查询修改
---
src/main/java/org/springblade/modules/taskqd/mapper/TaskqdMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/springblade/modules/taskqd/mapper/TaskqdMapper.xml b/src/main/java/org/springblade/modules/taskqd/mapper/TaskqdMapper.xml
index 03b10fa..02fc93a 100644
--- a/src/main/java/org/springblade/modules/taskqd/mapper/TaskqdMapper.xml
+++ b/src/main/java/org/springblade/modules/taskqd/mapper/TaskqdMapper.xml
@@ -232,13 +232,13 @@
<if test="task.tasktype!=null and task.tasktype!=''">
and st.tasktype = #{task.tasktype}
</if>
- <if test="task.rtype!=null and task.rtype!=''">
+ <if test="task.rtype!=null and task.rtype!='' and task.rtype!='undefined'">
and st.rtype = #{task.rtype}
</if>
- <if test="task.rname!=null and task.rname!=''">
+ <if test="task.rname!=null and task.rname!='' and task.rname!='undefined'">
and st.rname like concat('%',#{task.rname},'%')
</if>
- <if test="task.jurisdiction!=null and task.jurisdiction!=''">
+ <if test="task.jurisdiction!=null and task.jurisdiction!='' and task.jurisdiction!='undefined'">
and st.jurisdiction = #{task.jurisdiction}
</if>
</select>
--
Gitblit v1.9.3