java110
2021-06-16 bd59c19c6fccfc8d0bf3804c0d0c712454bd7d42
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>