wuxw
2022-07-19 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54
java110-db/src/main/resources/mapper/community/InitializeBuildingUnitDaoImplMapper.xml
@@ -6,8 +6,8 @@
    <!-- 初始化数据 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>
@@ -15,22 +15,22 @@
    <!-- 初始化数据 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>