用户信息注册修改
This commit is contained in:
parent
dcc628e43c
commit
86e03c7b2b
|
|
@ -13,7 +13,6 @@
|
|||
<result property="customerLogoUrl" column="customer_logo_url" />
|
||||
<result property="customerPlace" column="customer_place" />
|
||||
<result property="parentCustomerPlace" column="parent_customer_place" />
|
||||
<result property="customerLogoUrl" column="customer_logo_url" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
|
|
@ -69,15 +68,15 @@
|
|||
<if test="createBy != null and createBy != ''">create_by,</if>
|
||||
create_time
|
||||
)values(
|
||||
<if test="customerId != null and customerId != 0">${customer_id},</if>
|
||||
<if test="name != null and name != ''">${name},</if>
|
||||
<if test="account != null and account != ''">${account},</if>
|
||||
<if test="phone != null and phone != ''">${phone},</if>
|
||||
<if test="customerLogoUrl != null and customerLogoUrl != ''">${customer_logo_url},</if>
|
||||
<if test="openId != null and openId != ''">${open_id},</if>
|
||||
<if test="status != null and status != ''">${status},</if>
|
||||
<if test="remark != null and remark != ''">${remark},</if>
|
||||
<if test="createBy != null and createBy != ''">${create_by},</if>
|
||||
<if test="customerId != null and customerId != 0">#{customerId},</if>
|
||||
<if test="name != null and name != ''">#{name},</if>
|
||||
<if test="account != null and account != ''">#{account},</if>
|
||||
<if test="phone != null and phone != ''">#{phone},</if>
|
||||
<if test="customerLogoUrl != null and customerLogoUrl != ''">#{customerLogoUrl},</if>
|
||||
<if test="openId != null and openId != ''">#{openId},</if>
|
||||
<if test="status != null and status != ''">#{status},</if>
|
||||
<if test="remark != null and remark != ''">#{remark},</if>
|
||||
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
||||
sysdate()
|
||||
)
|
||||
</insert>
|
||||
|
|
@ -85,10 +84,10 @@
|
|||
<update id="updateCustomer" parameterType="com.ghy.customer.domain.Customer">
|
||||
update costomer
|
||||
<set>
|
||||
<if test="name != null and name != ''">name = ${name},</if>
|
||||
<if test="account != null and account != ''">account = ${account},</if>
|
||||
<if test="phone != null and phone != ''">phone = ${phone},</if>
|
||||
<if test="customerLogoUrl != null and customerLogoUrl != ''">customer_logo_url = ${customer_logo_url},</if>
|
||||
<if test="name != null and name != ''">name = #{name},</if>
|
||||
<if test="account != null and account != ''">account = #{account},</if>
|
||||
<if test="phone != null and phone != ''">phone = #{phone},</if>
|
||||
<if test="customerLogoUrl != null and customerLogoUrl != ''">customer_logo_url = #{customerLogoUrl},</if>
|
||||
<if test="status != null and status != ''">status = #{status},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue