From ebd41b7b2e44dc8b96f177d7bf88d2f5f997b75c Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Sun, 28 Apr 2024 14:30:07 +0800
Subject: [PATCH] 民警导入修改

---
 src/main/java/org/springblade/modules/task/mapper/TaskPlaceSelfCheckMapper.xml |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main/java/org/springblade/modules/task/mapper/TaskPlaceSelfCheckMapper.xml b/src/main/java/org/springblade/modules/task/mapper/TaskPlaceSelfCheckMapper.xml
index 381b8bb..1f113c4 100644
--- a/src/main/java/org/springblade/modules/task/mapper/TaskPlaceSelfCheckMapper.xml
+++ b/src/main/java/org/springblade/modules/task/mapper/TaskPlaceSelfCheckMapper.xml
@@ -80,6 +80,7 @@
             <if test="place.updateTime != null ">and jpc.update_time = #{place.updateTime}</if>
             <if test="place.createTime != null ">and jpc.create_time = #{place.createTime}</if>
             <if test="place.houseCode != null  and place.houseCode != ''">and jpc.house_code = #{place.houseCode}</if>
+            <if test="place.type != null  and place.type != ''">and jpc.type = #{place.type}</if>
             <if test="place.rectificationEndTime != null ">and jpc.rectification_end_time =
                 #{place.rectificationEndTime}
             </if>
@@ -492,6 +493,7 @@
         WHERE jp.jw_grid_code IN
               (SELECT jpag.jw_grid_code FROM jczz_police_affairs_grid jpag WHERE jpag.police_user_id like concat('%',#{userId},'%') )
           AND jtpsc.`status` = 1
+          AND jtpsc.`type` = #{type}
           AND jg.community_code=#{neiCode}
     </select>
 

--
Gitblit v1.9.3