linwe
2023-12-20 73887da1c95e54971951a40421980eb15296caab
统计接口优化
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
@@ -305,12 +305,14 @@
        WHERE
        jda.nei_code = #{code}
        AND jh.is_deleted = 0
        <if test="buildingCode != null  and buildingCode != ''">
            and jda.building_code=#{buildingCode}
        </if>
        <if test="uniCode != null  and uniCode != ''">
            and jda.unit_code=#{uniCode}
            AND jda.unit_code is not null
        </if>
        <if test="aoiCode != null  and aoiCode != ''">
@@ -349,6 +351,7 @@
        <if test="uniCode != null  and uniCode != ''">
            and jda.unit_code=#{uniCode}
            AND jda.unit_code is not null
        </if>
        <if test="aoiCode != null  and aoiCode != ''">