From dea2325896c7f8bd7df5107569b71d15fede79c7 Mon Sep 17 00:00:00 2001
From: xiaogang <905166056@qq.com>
Date: 星期四, 22 九月 2022 20:11:55 +0800
Subject: [PATCH] 1、优化图片异步上传2、bug修复3、合同bug修复4、车场相关问题
---
java110-db/src/main/resources/mapper/user/OwnerServiceDaoImplMapper.xml | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/user/OwnerServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/OwnerServiceDaoImplMapper.xml
index c022040..ca4b597 100755
--- a/java110-db/src/main/resources/mapper/user/OwnerServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/OwnerServiceDaoImplMapper.xml
@@ -598,11 +598,11 @@
t.create_time createTime,
t.room_id roomId
FROM
- business_building_owner_room_rel t
+ building_owner_room_rel t
INNER JOIN building_owner bo ON t.owner_id = bo.owner_id AND bo.status_cd = '0' AND bo.community_id =
#{communityId}
WHERE
- t.operate = 'ADD'
+ bo.owner_type_cd = '1001'
AND t.room_id = #{roomId}
ORDER BY
t.create_time DESC
@@ -613,12 +613,11 @@
<select id="queryOwnerLogsCountByRoom" parameterType="Map" resultType="Map">
select COUNT(1) count
- from business_building_owner_room_rel t
- inner join building_owner bo
+ from building_owner_room_rel t
+ inner join building_owner bo
on t.owner_id = bo.owner_id and bo.status_cd = '0' and bo.community_id = #{communityId}
- where t.operate = 'ADD'
- and t.room_id = #{roomId}
- order by t.create_time desc
+ where bo.owner_type_cd = '1001'
+ and t.room_id = #{roomId}
</select>
</mapper>
--
Gitblit v1.8.0