src/main/java/org/springblade/modules/grid/mapper/GridmanMapper.xml
@@ -80,10 +80,12 @@ FROM jczz_gridman jgm LEFT JOIN jczz_grid jg ON jg.grid_code = jgm.grid_code <where> <if test="communityCodeList !=null and communityCodeList.size() >0"> jg.community_code in <foreach collection="communityCodeList" item="code" open="(" close=")" separator=","> #{code} </foreach> </if> AND jg.is_deleted = 0 <if test="userId!=null and roleType == '1'"> and jgm.user_id= #{userId}