java110
2023-08-08 b5dcf942c6d33f38321fa3b554a121b7fb30a570
java110-db/src/main/resources/mapper/community/InitializeBuildingUnitDaoImplMapper.xml
@@ -23,6 +23,12 @@
        delete from building_room where 1=1
            and community_id = #{communityId}
    </delete>
    <delete id="deleteOwnerRoomRel" parameterType="Map">
        delete from building_owner_room_rel where room_id in(
        select t.room_id from building_room t where t.community_id = #{communityId}
        )
    </delete>
    <!-- 初始化数据 add by wuxw 2018-07-03 -->
    <delete id="deleteParkingArea" parameterType="Map">
        delete from parking_area where 1=1
@@ -33,4 +39,9 @@
        delete from parking_space where 1=1
            and community_id = #{communityId}
    </delete>
    <delete id="deleteOwnerCar" parameterType="Map">
        delete from owner_car where 1=1
        and community_id = #{communityId}
    </delete>
</mapper>