1098226878
2021-09-14 0849670f03eaa4b5de71c11558e6baf6ac8d2586
java110-db/src/main/resources/mapper/community/FloorServiceDaoImplMapper.xml
old mode 100644 new mode 100755
@@ -154,7 +154,10 @@
        COUNT(1) count
        FROM
        f_floor f
        where f.`community_id` = #{communityId}
        where 1=1
        <if test="communityId !=null and communityId != ''">
            and f.`community_id` = #{communityId}
        </if>
        <if test="floorId !=null and floorId != ''">
            and f.floor_id= #{floorId}
        </if>
@@ -199,7 +202,10 @@
        f.floor_area floorArea
        FROM
        f_floor f
        where f.`community_id` = #{communityId}
        where 1=1
        <if test="communityId !=null and communityId != ''">
            and f.`community_id` = #{communityId}
        </if>
        <if test="floorId !=null and floorId != ''">
            and f.floor_id= #{floorId}
        </if>