From 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 19 七月 2022 21:49:55 +0800
Subject: [PATCH] 优化添加设备 功能
---
java110-db/src/main/resources/mapper/community/InitializeBuildingUnitDaoImplMapper.xml | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/community/InitializeBuildingUnitDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/InitializeBuildingUnitDaoImplMapper.xml
index 75e7eae..c72d9f5 100644
--- a/java110-db/src/main/resources/mapper/community/InitializeBuildingUnitDaoImplMapper.xml
+++ b/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>
--
Gitblit v1.8.0