client 标签打印 长链接

会员绑定
This commit is contained in:
2024-06-21 09:18:56 +08:00
parent 4d7e6c3650
commit 4a4c5623aa
15 changed files with 493 additions and 21 deletions

View File

@@ -29,6 +29,7 @@ websocket:
netty:
server:
port: 9999
client-port: 9998
# 接收者的线程数
parent-group-threads: 10
# 客户端的线程数

View File

@@ -380,6 +380,15 @@
where id = #{id,jdbcType=VARCHAR}
</update>
<update id="upUserBYId" parameterType="com.chaozhanggui.system.cashierservice.entity.TbShopUser">
update tb_shop_user
set
user_id = #{userId,jdbcType=VARCHAR},
updated_at = #{updatedAt,jdbcType=BIGINT}
where id = #{id,jdbcType=VARCHAR}
</update>
<select id="selectByUserIdAndShopId" resultMap="BaseResultMap">
select * from tb_shop_user where user_id=#{userId} and shop_id=#{shopId}
</select>