linwei
2024-02-03 b7df6735bcb2d447cae7fcfba2d12accf3dd2fcc
src/main/java/org/springblade/modules/grid/mapper/GridMapper.xml
@@ -41,6 +41,7 @@
        <if test="grid.townName != null and grid.townName !='' ">
            and br.town_name like concat('%',#{grid.townName},'%')
        </if>
        order by community_code asc,grid_code asc
    </select>
    <!--根据地址编号查询网格数据-->
@@ -53,7 +54,7 @@
        left join blade_user bu on bu.id = jgm.user_id and bu.is_deleted = 0
        left join blade_region br ON br.code = jg.community_code
        where jg.is_deleted = 0
        and jp.house_code = #{houseCode}
        and jp.house_code like concat('%',#{houseCode},'%')
        limit 1
    </select>
@@ -103,7 +104,7 @@
    <!--查询全部-->
    <select id="selectGridAll" resultType="org.springblade.modules.grid.entity.GridEntity">
        select id,community_code,grid_name,principal,principal_phone,remark,sort from jczz_grid
        select id,grid_code,community_code,grid_name,principal,principal_phone,remark,sort from jczz_grid
         where is_deleted = 0
    </select>