From 82eb6782bd9264798bea70220d4199d559759dcb Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期六, 24 十月 2020 17:52:53 +0800
Subject: [PATCH] 优化代码
---
java110-db/src/main/resources/mapper/user/OwnerAttrServiceDaoImplMapper.xml | 5 +----
1 files changed, 1 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
index fe108ca..1f2e278 100644
--- a/java110-db/src/main/resources/mapper/user/OwnerAttrServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/OwnerAttrServiceDaoImplMapper.xml
@@ -89,7 +89,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 +136,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