@@ -48,7 +48,9 @@
</insert>
<update id="updateUserShopId">
- update user set shopID = #{shopID}
+ update user
+ set shopID = #{shopID}
+ where userId = #{userID}
</update>
<update id="updateShop">