From 1b77bee189766b0f5314cd4863593154d3fbf78e Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Fri, 25 Feb 2022 14:06:59 +0800
Subject: [PATCH] 问题修复
---
src/main/java/org/springblade/modules/taskqd/mapper/TaskqdMapper.xml | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 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 ef86d1c..10ba1d8 100644
--- a/src/main/java/org/springblade/modules/taskqd/mapper/TaskqdMapper.xml
+++ b/src/main/java/org/springblade/modules/taskqd/mapper/TaskqdMapper.xml
@@ -23,6 +23,11 @@
<result column="publisher" property="publisher"/>
<result column="fid" property="fid"/>
<result column="fname" property="fname"/>
+ <result column="gather" property="gather"/>
+ <result column="gathername" property="gathername"/>
+ <result column="tasktype" property="tasktype"/>
+ <result column="phone" property="phone"/>
+ <result column="train" property="train"/>
</resultMap>
@@ -67,7 +72,7 @@
</if>
<if test="type==1">
<if test="jurisdiction!='1372091709474910209'">
- qd.jnum!=qd.num
+ qd.jnum!=qd.num AND qd.rtype = "2"
and (!find_in_set(#{serid}, serid) OR serid IS NULL )
and (j.id =#{jurisdiction} or
j.parent_id = #{jurisdiction})
@@ -82,10 +87,14 @@
SELECT COUNT(*) as num
FROM sys_taskqd qd
LEFT JOIN sys_jurisdiction j ON j.id = qd.jurisdiction
- WHERE jnum!=num AND
+ WHERE jnum!=num AND qd.rtype = "2" AND
(!find_in_set(#{serid}, serid) OR serid IS NULL )
and (j.id =#{jurisdiction}
or
j.parent_id = #{jurisdiction})
</select>
+
+ <select id="querySerid" resultType="java.lang.String">
+ SELECT serid from sys_taskqd where id = #{rid}
+ </select>
</mapper>
--
Gitblit v1.9.3