| | |
| | | |
| | | <!-- 初始化数据 add by wuxw 2018-07-03 --> |
| | | <delete id="deleteBuildingUnit" parameterType="Map"> |
| | | delete from building_unit t where 1=1 |
| | | and t.floor_id in |
| | | delete from building_unit where 1=1 |
| | | and floor_id in |
| | | <foreach collection="floorIds" item="item" open="(" close=")" separator=","> |
| | | #{item} |
| | | </foreach> |
| | |
| | | |
| | | <!-- 初始化数据 add by wuxw 2018-07-03 --> |
| | | <delete id="deletefFloor" parameterType="Map"> |
| | | delete from f_floor t where 1=1 |
| | | and t.community_id = #{communityId} |
| | | delete from f_floor where 1=1 |
| | | and community_id = #{communityId} |
| | | </delete> |
| | | <!-- 初始化数据 add by wuxw 2018-07-03 --> |
| | | <delete id="deleteBuildingRoom" parameterType="Map"> |
| | | delete from building_room t where 1=1 |
| | | and t.community_id = #{communityId} |
| | | delete from building_room where 1=1 |
| | | and community_id = #{communityId} |
| | | </delete> |
| | | <!-- 初始化数据 add by wuxw 2018-07-03 --> |
| | | <delete id="deleteParkingArea" parameterType="Map"> |
| | | delete from parking_area t where 1=1 |
| | | and t.community_id = #{communityId} |
| | | delete from parking_area where 1=1 |
| | | and community_id = #{communityId} |
| | | </delete> |
| | | <!-- 初始化数据 add by wuxw 2018-07-03 --> |
| | | <delete id="deleteParkingSpace" parameterType="Map"> |
| | | delete from parking_space t where 1=1 |
| | | and t.community_id = #{communityId} |
| | | delete from parking_space where 1=1 |
| | | and community_id = #{communityId} |
| | | </delete> |
| | | </mapper> |