| | |
| | | <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"> |
| | |
| | | age_unit, |
| | | career, |
| | | dw_phone, |
| | | pym,dict_comp_id,comp_name |
| | | pym,dict_comp_id,comp_name,his_jzkh |
| | | from tj_customer |
| | | </sql> |
| | | |
| | |
| | | <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> |
| | |
| | | <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> |
| | | |
| | |
| | | <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> |