zhongrj
2024-03-20 4dbe749ae7f891ed1ca3ea9a9b409133faf9cd6e
查询未绑定网格或警格的数据
1 files modified
3 ■■■■ changed files
src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml 3 ●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml
@@ -796,13 +796,14 @@
    <!--查询未绑定网格或警格的数据-->
    <select id="getNotBindGridOrJwGridList" resultType="org.springblade.modules.house.entity.HouseEntity">
        select lng,lat from jczz_house where is_deleted = 0 and lng != ''
        select id,lng,lat from jczz_house where is_deleted = 0 and lng != ''
        <if test="type == 1">
            and grid_code is null
        </if>
        <if test="type == 2">
            and jw_grid_code is null
        </if>
        and create_time > '2024-03-20 11:00:00'
    </select>
    <!--按房屋标签统计-->