old mode 100644
new mode 100755
| | |
| | | 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> |
| | |
| | | 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> |