From bd59c19c6fccfc8d0bf3804c0d0c712454bd7d42 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期三, 16 六月 2021 17:24:47 +0800
Subject: [PATCH] 修复扣款
---
java110-db/src/main/resources/mapper/user/OwnerAttrServiceDaoImplMapper.xml | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/user/OwnerAttrServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/OwnerAttrServiceDaoImplMapper.xml
old mode 100644
new mode 100755
index fe108ca..edf8a6f
--- a/java110-db/src/main/resources/mapper/user/OwnerAttrServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/OwnerAttrServiceDaoImplMapper.xml
@@ -13,6 +13,14 @@
)
</insert>
+ <insert id="saveOwnerAttr" parameterType="Map">
+ insert into building_owner_attr(
+ attr_id,spec_cd,b_id,community_id,value,member_id
+ ) values (
+ #{attrId},#{specCd},'-1',#{communityId},#{value},#{memberId}
+ )
+ </insert>
+
<!-- 鏌ヨ涓氫富灞炴�т俊鎭紙Business锛� add by wuxw 2018-07-03 -->
<select id="getBusinessOwnerAttrInfo" parameterType="Map" resultType="Map">
@@ -89,7 +97,7 @@
v.value_name valueName,
s.list_show listShow
from building_owner_attr t
- left join attr_spec s on t.spec_cd = s.spec_cd and s.status_cd = '0' and s.table_name = 'building_room_attr'
+ left join attr_spec s on t.spec_cd = s.spec_cd and s.status_cd = '0' and s.table_name = 'building_owner_attr'
left join attr_value v on t.`value` = v.`value` and t.spec_cd = v.spec_cd and v.status_cd = '0'
where 1 =1
<if test="attrId !=null and attrId != ''">
@@ -136,9 +144,6 @@
update building_owner_attr t set t.status_cd = #{statusCd}
<if test="newBId != null and newBId != ''">
,t.b_id = #{newBId}
- </if>
- <if test="createTime !=null and createTime != ''">
- , t.create_time= #{createTime}
</if>
<if test="specCd !=null and specCd != ''">
, t.spec_cd= #{specCd}
--
Gitblit v1.8.0