linwe
2023-11-12 8d8c7da4e91028fc877f101dcd244bef3e18c197
src/main/java/org/springblade/modules/grid/mapper/GridMapper.xml
@@ -9,8 +9,11 @@
    <!--根据地址编号查询网格数据-->
    <select id="getGridDetailByHouseCode" resultType="org.springblade.modules.grid.vo.GridVO">
        select jg.* from jczz_grid jg
        select jg.id,jg.grid_name,jg.community_name,
        bu.real_name as realName,bu.phone as gridPhone
        from jczz_grid jg
        left join jczz_grid_range jgr on jg.id = jgr.grid_id
        left join blade_user bu on bu.id = jg.user_id and bu.is_deleted = 0
        where jg.is_deleted = 0
        and jgr.house_code = #{houseCode}
    </select>