From 3e0a5ec84e20908f9300dad9b82bc851803cca66 Mon Sep 17 00:00:00 2001
From: xiaogang <905166056@qq.com>
Date: 星期五, 01 七月 2022 09:31:18 +0800
Subject: [PATCH] 1、优化页面查询相关bug2、优化优惠申请图片上传3、优化页面性bug
---
java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml | 24 +++++++++++-------------
1 files changed, 11 insertions(+), 13 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml
index de39cd8..2e72ba6 100755
--- a/java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml
@@ -6,13 +6,12 @@
<!-- 淇濆瓨灏忓尯鎴垮眿淇℃伅 add by wuxw 2018-07-03 -->
<insert id="saveBusinessRoomInfo" parameterType="Map">
- insert into business_building_room(
- fee_coefficient,section,remark,user_id,room_id,layer,built_up_area,operate,room_num,unit_id,b_id,apartment,state,community_id,
- room_type,room_sub_type,room_rent,room_area
- ) values (
- #{feeCoefficient},#{section},#{remark},#{userId},#{roomId},#{layer},#{builtUpArea},#{operate},#{roomNum},#{unitId},#{bId},#{apartment},#{state},
- #{communityId},#{roomType},#{roomSubType},#{roomRent},#{roomArea}
- )
+ insert into business_building_room(fee_coefficient, section, remark, user_id, room_id, layer, built_up_area,
+ operate, room_num, unit_id, b_id, apartment, state, community_id,
+ room_type, room_sub_type, room_rent, room_area)
+ values (#{feeCoefficient}, #{section}, #{remark}, #{userId}, #{roomId}, #{layer}, #{builtUpArea}, #{operate},
+ #{roomNum}, #{unitId}, #{bId}, #{apartment}, #{state},
+ #{communityId}, #{roomType}, #{roomSubType}, #{roomRent}, #{roomArea})
</insert>
@@ -307,7 +306,7 @@
<if test="roomSubType !=null and roomSubType != ''">
and t.room_sub_type= #{roomSubType}
</if>
-
+
</select>
<!-- 鏌ヨ灏忓尯鎴垮眿鏁伴噺 add by wuxw 2018-07-03 -->
@@ -384,7 +383,7 @@
<if test="unitNum !=null and unitNum != ''">
and u.unit_num= #{unitNum}
</if>
-
+
</select>
<!-- 鏌ヨ灏忓尯鎴垮眿鏁伴噺 add by wuxw 2018-07-03 -->
@@ -581,7 +580,7 @@
<if test="communityId !=null and communityId != ''">
and t.community_id= #{communityId}
</if>
-
+
and borr.`room_id` is null
<if test="page != -1 and page != null">
limit #{page},#{row}
@@ -770,7 +769,8 @@
t.user_id userId,t.room_id,t.room_id roomId,t.layer,t.built_up_area,t.built_up_area builtUpArea,t.room_num,
t.room_num roomNum,t.unit_id,t.unit_id unitId,t.b_id,t.b_id bId,t.apartment,t.state,u.`unit_num`
unitNum,f.`floor_num` floorNum,t.room_type roomType,t.room_type,f.floor_id floorId
- ,t.room_sub_type,t.room_rent,t.room_area,t.room_sub_type roomSubType,t.room_rent roomRent,t.room_area roomArea,bo.name ownerName
+ ,t.room_sub_type,t.room_rent,t.room_area,t.room_sub_type roomSubType,t.room_rent roomRent,t.room_area
+ roomArea,bo.name ownerName
FROM
building_owner bo,building_room t,building_owner_room_rel borr,building_unit u,f_floor f
WHERE
@@ -816,7 +816,6 @@
<if test="bId !=null and bId != ''">
and bo.b_id= #{bId}
</if>
-
<if test="age !=null and age != ''">
and bo.age= #{age}
</if>
@@ -826,7 +825,6 @@
<if test="ownerTypeCd !=null and ownerTypeCd != ''">
and bo.owner_type_cd= #{ownerTypeCd}
</if>
-
</select>
<!-- 鏌ヨ灏忓尯鎴垮眿淇℃伅 add by wuxw 2018-07-03 -->
--
Gitblit v1.8.0