From 35d6ed3c85ab2fa5c36c8817989bf56801fb2de7 Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期四, 20 六月 2024 11:52:15 +0800 Subject: [PATCH] zjh 2024/06/20-1 --- ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml b/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml index 2e78844..4f039c6 100644 --- a/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml @@ -32,6 +32,7 @@ <result property="ageUnit" column="age_unit"/> <result property="career" column="career"/> <result property="dwPhone" column="dw_phone"/> + <result property="pym" column="pym"/> </resultMap> <sql id="selectTjCustomerVo"> @@ -61,7 +62,8 @@ id_type, age_unit, career, - dw_phone + dw_phone, + pym from tj_customer </sql> @@ -83,6 +85,7 @@ <if test="cusIntroduce != null and cusIntroduce != ''">and cus_introduce = #{cusIntroduce}</if> <if test="cusNumber != null ">and cus_number = #{cusNumber}</if> <if test="cusIsvip != null and cusIsvip != ''">and cus_isvip = #{cusIsvip}</if> + <if test="pym != null and pym != ''">and pym = #{pym}</if> </where> </select> @@ -120,6 +123,7 @@ <if test="ageUnit != null">age_unit,</if> <if test="career != null">career,</if> <if test="dwPhone != null">dw_phone,</if> + <if test="pym != null">pym,</if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="cusName != null and cusName != ''">#{cusName},</if> @@ -148,6 +152,7 @@ <if test="ageUnit != null">#{ageUnit},</if> <if test="career != null">#{career},</if> <if test="dw_phone != null">#{dwPhone},</if> + <if test="pym != null">#{pym},</if> </trim> </insert> @@ -180,6 +185,7 @@ <if test="ageUnit != null">age_unit = #{ageUnit},</if> <if test="career != null">career = #{career},</if> <if test="dwPhone != null">dw_phone = #{dwPhone},</if> + <if test="pym != null">pym = #{pym},</if> </trim> where cus_id = #{cusId} </update> -- Gitblit v1.8.0