From 0b7b8ede524a0b82563fa74ebe234b59c29463ab Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 28 Jun 2024 16:58:43 +0800
Subject: [PATCH] 处理一个社区多个派出所,社区编码添加了标识位

---
 src/main/java/org/springblade/modules/grid/mapper/GridWorkLogMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/springblade/modules/grid/mapper/GridWorkLogMapper.xml b/src/main/java/org/springblade/modules/grid/mapper/GridWorkLogMapper.xml
index da6df79..4193d35 100644
--- a/src/main/java/org/springblade/modules/grid/mapper/GridWorkLogMapper.xml
+++ b/src/main/java/org/springblade/modules/grid/mapper/GridWorkLogMapper.xml
@@ -56,13 +56,13 @@
                     <if test="gridWorkLog.roleName=='wgy'">
                         <choose>
                             <when test="gridCodeList !=null and gridCodeList.size()>0">
-                                and jh.grid_code in
+                                and jhs.grid_code in
                                 <foreach collection="gridCodeList" item="code" open="(" close=")" separator=",">
                                     #{code}
                                 </foreach>
                             </when>
                             <otherwise>
-                                and jh.grid_code in ('')
+                                and jhs.grid_code in ('')
                             </otherwise>
                         </choose>
                     </if>

--
Gitblit v1.9.3