From 8597cde32f9d7ad35028781cedff4ce79490c81f Mon Sep 17 00:00:00 2001
From: zjh <zjh@888>
Date: 星期二, 12 十二月 2023 17:44:58 +0800
Subject: [PATCH] zjh 本地 2023/12/12 -1

---
 ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml b/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml
index 7cd5ac3..2e78844 100644
--- a/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml
@@ -31,6 +31,7 @@
         <result property="idType" column="id_type"/>
         <result property="ageUnit" column="age_unit"/>
         <result property="career" column="career"/>
+        <result property="dwPhone" column="dw_phone"/>
     </resultMap>
 
     <sql id="selectTjCustomerVo">
@@ -59,7 +60,8 @@
                age,
                id_type,
                age_unit,
-               career
+               career,
+               dw_phone
         from tj_customer
     </sql>
 
@@ -117,6 +119,7 @@
             <if test="idType != null">id_type,</if>
             <if test="ageUnit != null">age_unit,</if>
             <if test="career != null">career,</if>
+            <if test="dwPhone != null">dw_phone,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="cusName != null and cusName != ''">#{cusName},</if>
@@ -144,6 +147,7 @@
             <if test="idType != null">#{idType},</if>
             <if test="ageUnit != null">#{ageUnit},</if>
             <if test="career != null">#{career},</if>
+            <if test="dw_phone != null">#{dwPhone},</if>
         </trim>
     </insert>
 
@@ -175,6 +179,7 @@
             <if test="idType != null">id_type = #{idType},</if>
             <if test="ageUnit != null">age_unit = #{ageUnit},</if>
             <if test="career != null">career = #{career},</if>
+            <if test="dwPhone != null">dw_phone = #{dwPhone},</if>
         </trim>
         where cus_id = #{cusId}
     </update>

--
Gitblit v1.8.0