src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml
@@ -789,5 +789,16 @@ </select> <!--查询未绑定网格或警格的数据--> <select id="getNotBindGridOrJwGridList" resultType="org.springblade.modules.house.entity.HouseEntity"> select 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> </select> </mapper>