From 9ec0a61f90ac2464eebc643bfe2d93ac9ba6e569 Mon Sep 17 00:00:00 2001
From: cgf <2156125618@qq.com>
Date: 星期六, 23 八月 2025 10:59:18 +0800
Subject: [PATCH] 折扣已完成现有需求2025/08/09
---
java110-db/src/main/resources/mapper/user/OwnerV1ServiceDaoImplMapper.xml | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/user/OwnerV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/OwnerV1ServiceDaoImplMapper.xml
index e7d73fe..88ee12b 100644
--- a/java110-db/src/main/resources/mapper/user/OwnerV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/OwnerV1ServiceDaoImplMapper.xml
@@ -6,9 +6,9 @@
<!-- 淇濆瓨涓氫富淇℃伅淇℃伅 add by wuxw 2018-07-03 -->
<insert id="saveOwnerInfo" parameterType="Map">
insert into building_owner(id_card, sex, link, owner_type_cd, remark, owner_id, user_id, name, state,
- community_id, age, member_id, address,person_type,person_role,concact_person,concact_link,face_url)
+ community_id, age, member_id, address,person_type,person_role,concact_person,concact_link,face_url,other_address)
values (#{idCard}, #{sex}, #{link}, #{ownerTypeCd}, #{remark}, #{ownerId}, #{userId}, #{name}, #{state},
- #{communityId}, #{age}, #{memberId}, #{address},#{personType},#{personRole},#{concactPerson},#{concactLink},#{faceUrl})
+ #{communityId}, #{age}, #{memberId}, #{address},#{personType},#{personRole},#{concactPerson},#{concactLink},#{faceUrl},#{otherAddress})
</insert>
<!-- 鏌ヨ涓氫富淇℃伅淇℃伅 add by wuxw 2018-07-03 -->
@@ -16,7 +16,7 @@
select t.id_card,t.id_card idCard,t.sex,t.link,t.owner_type_cd,t.owner_type_cd
ownerTypeCd,t.remark,t.status_cd,t.status_cd statusCd,t.owner_id,t.owner_id ownerId,t.user_id,t.user_id
userId,t.name,t.state,t.community_id,t.community_id communityId,t.age,t.member_id,t.member_id memberId,
- t.address ,t.person_type personType,t.person_role personRole,t.concact_person concactPerson,td.name ownerTypeName,
+ t.address,t.other_address otherAddress ,t.person_type personType,t.person_role personRole,t.concact_person concactPerson,td.name ownerTypeName,
t.concact_link concactLink,t.face_url faceUrl,tdType.name personTypeName,tdRole.name personRoleName
from building_owner t
left join t_dict td on td.table_name = 'building_owner' and td.`table_columns` = 'owner_type_cd' and td.status_cd = t.owner_type_cd
@@ -108,12 +108,15 @@
<if test="sex !=null and sex != ''">
,t.sex= #{sex}
</if>
- <if test="link !=null and link != ''">
+ <if test="link !=null">
,t.link= #{link}
</if>
<if test="address !=null and address != ''">
,t.address= #{address}
</if>
+ <if test="otherAddress !=null and otherAddress != ''">
+ ,t.other_address= #{otherAddress}
+ </if>
<if test="ownerTypeCd !=null and ownerTypeCd != ''">
,t.owner_type_cd= #{ownerTypeCd}
</if>
--
Gitblit v1.8.0