Merge branch 'master' of https://gitee.com/op-souls/ghy-all
This commit is contained in:
commit
a1d370b170
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue