修改用户帐号和手机号 问题修复

This commit is contained in:
donqi 2022-05-24 13:50:09 +08:00
parent 03cc3cd3be
commit 03cd7ff503
2 changed files with 3 additions and 3 deletions

View File

@ -82,7 +82,7 @@
</insert>
<update id="updateCustomer" parameterType="com.ghy.customer.domain.Customer">
update costomer
update customer
<set>
<if test="name != null and name != ''">name = #{name},</if>
<if test="account != null and account != ''">account = #{account},</if>

View File

@ -67,7 +67,7 @@
)
</insert>
<update id="updateWorker" parameterType="com.ghy.worker.domain.Worker">
<update id="updateWorker" >
update worker
<set>
<if test="account != null and account != ''"> account = #{account},</if>
@ -75,4 +75,4 @@
</set>
where worker_id = #{workerId}
</update>
</mapper>
</mapper>