修改用户帐号和手机号 问题修复
This commit is contained in:
parent
03cc3cd3be
commit
03cd7ff503
|
|
@ -82,7 +82,7 @@
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<update id="updateCustomer" parameterType="com.ghy.customer.domain.Customer">
|
<update id="updateCustomer" parameterType="com.ghy.customer.domain.Customer">
|
||||||
update costomer
|
update customer
|
||||||
<set>
|
<set>
|
||||||
<if test="name != null and name != ''">name = #{name},</if>
|
<if test="name != null and name != ''">name = #{name},</if>
|
||||||
<if test="account != null and account != ''">account = #{account},</if>
|
<if test="account != null and account != ''">account = #{account},</if>
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@
|
||||||
)
|
)
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<update id="updateWorker" parameterType="com.ghy.worker.domain.Worker">
|
<update id="updateWorker" >
|
||||||
update worker
|
update worker
|
||||||
<set>
|
<set>
|
||||||
<if test="account != null and account != ''"> account = #{account},</if>
|
<if test="account != null and account != ''"> account = #{account},</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue