From be1b426b7d765a546f4a26b60e80aa49a57079b9 Mon Sep 17 00:00:00 2001
From: xiaogang <905166056@qq.com>
Date: 星期六, 13 一月 2024 16:25:11 +0800
Subject: [PATCH] 1、优化采购模块数量不能为小数点问题2、新增客服巡查巡楼记录功能模块3、新增页面导出功能4、优化记录查询条件新增时间段查询条件5、其他界面性调整

---
 java110-db/src/main/resources/mapper/user/OwnerV1ServiceDaoImplMapper.xml |   30 ++++++++++++++++--------------
 1 files changed, 16 insertions(+), 14 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/user/OwnerV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/OwnerV1ServiceDaoImplMapper.xml
index 288221f..1fa9992 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)
+                                   community_id, age, member_id, address)
         values (#{idCard}, #{sex}, #{link}, #{ownerTypeCd}, #{remark}, #{ownerId}, #{userId}, #{name}, #{state},
-        #{communityId}, #{age}, #{memberId}, #{address})
+                #{communityId}, #{age}, #{memberId}, #{address})
     </insert>
 
     <!-- 鏌ヨ涓氫富淇℃伅淇℃伅 add by wuxw 2018-07-03 -->
@@ -87,39 +87,41 @@
         <if test="newBId != null and newBId != ''">
             ,t.b_id = #{newBId}
         </if>
-        , t.id_card= #{idCard}
+        <if test="idCard != null and idCard != ''">
+            ,t.id_card= #{idCard}
+        </if>
         <if test="sex !=null and sex != ''">
-            , t.sex= #{sex}
+            ,t.sex= #{sex}
         </if>
         <if test="link !=null and link != ''">
-            , t.link= #{link}
+            ,t.link= #{link}
         </if>
         <if test="address !=null and address != ''">
-            , t.address= #{address}
+            ,t.address= #{address}
         </if>
         <if test="ownerTypeCd !=null and ownerTypeCd != ''">
-            , t.owner_type_cd= #{ownerTypeCd}
+            ,t.owner_type_cd= #{ownerTypeCd}
         </if>
         <if test="remark !=null and remark != ''">
-            , t.remark= #{remark}
+            ,t.remark= #{remark}
         </if>
         <if test="ownerId !=null and ownerId != ''">
-            , t.owner_id= #{ownerId}
+            ,t.owner_id= #{ownerId}
         </if>
         <if test="userId !=null and userId != ''">
-            , t.user_id= #{userId}
+            ,t.user_id= #{userId}
         </if>
         <if test="name !=null and name != ''">
-            , t.name= #{name}
+            ,t.name= #{name}
         </if>
         <if test="state !=null and state != ''">
-            , t.state= #{state}
+            ,t.state= #{state}
         </if>
         <if test="communityId !=null and communityId != ''">
-            , t.community_id= #{communityId}
+            ,t.community_id= #{communityId}
         </if>
         <if test="age != ''">
-            , t.age= #{age}
+            ,t.age= #{age}
         </if>
         where 1=1
         <if test="memberId !=null and memberId != ''">

--
Gitblit v1.8.0