From 79f9fbd9f999e26af3f0bca534d825eb687e092c Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期三, 25 十二月 2024 08:47:24 +0800 Subject: [PATCH] 20241225 --- ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml | 22 +++++++++++++++++++++- 1 files changed, 21 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..59c1c3f 100644 --- a/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml @@ -32,6 +32,10 @@ <result property="ageUnit" column="age_unit"/> <result property="career" column="career"/> <result property="dwPhone" column="dw_phone"/> + <result property="pym" column="pym"/> + <result property="dictCompId" column="dict_comp_id"/> + <result property="compName" column="comp_name"/> + <result property="hisJzkh" column="his_jzkh"/> </resultMap> <sql id="selectTjCustomerVo"> @@ -61,7 +65,8 @@ id_type, age_unit, career, - dw_phone + dw_phone, + pym,dict_comp_id,comp_name,his_jzkh from tj_customer </sql> @@ -83,6 +88,9 @@ <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> + <if test="dictCompId != null and dictCompId != ''">and dict_comp_id = #{dictCompId}</if> + <if test="compName != null and compName != ''">and comp_name = #{compName}</if> </where> </select> @@ -120,6 +128,10 @@ <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> + <if test="dictCompId != null">dict_comp_id,</if> + <if test="compName != null">comp_name,</if> + <if test="hisJzkh != null">his_jzkh,</if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="cusName != null and cusName != ''">#{cusName},</if> @@ -148,6 +160,10 @@ <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> + <if test="dictCompId != null">#{dictCompId},</if> + <if test="compName != null">#{compName},</if> + <if test="hisJzkh != null">#{hisJzkh},</if> </trim> </insert> @@ -180,6 +196,10 @@ <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> + <if test="dictCompId != null">dict_comp_id = #{dictCompId},</if> + <if test="compName != null">comp_name = #{compName},</if> + <if test="hisJzkh != null">his_jzkh = #{hisJzkh},</if> </trim> where cus_id = #{cusId} </update> -- Gitblit v1.8.0