linwe
2023-12-20 7f71f78980f23d62f6e8598dbac83bde62997479
src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml
@@ -272,7 +272,7 @@
        </if>
        <if test="aoiCode != null  and aoiCode != ''">
            and jda.aoi_code=#{aoiCode}}
            and jda.aoi_code=#{aoiCode}
        </if>
        <if test="userId != null">
        AND jda.address_code IN (
@@ -314,7 +314,7 @@
        </if>
        <if test="aoiCode != null  and aoiCode != ''">
            and jda.aoi_code=#{aoiCode}}
            and jda.aoi_code=#{aoiCode}
        </if>
        <if test="userId != null">
            AND jda.address_code IN (
@@ -352,7 +352,7 @@
        </if>
        <if test="aoiCode != null  and aoiCode != ''">
            and jda.aoi_code=#{aoiCode}}
            and jda.aoi_code=#{aoiCode}
        </if>
        <if test="userId != null">
        AND jda.address_code IN (
@@ -383,6 +383,7 @@
        WHERE
        jda.nei_code = #{code}
        AND jh.is_deleted = 0
        AND jda.unit_code is not null
        <if test="buildingCode != null  and buildingCode != ''">
            and jda.building_code=#{buildingCode}
        </if>
@@ -392,7 +393,7 @@
        </if>
        <if test="aoiCode != null  and aoiCode != ''">
            and jda.aoi_code=#{aoiCode}}
            and jda.aoi_code=#{aoiCode}
        </if>
        <if test="userId != null">
            AND jda.address_code IN (