查询省市
会员关联 桌码绑定新的 旧的清除
This commit is contained in:
@@ -538,6 +538,7 @@
|
||||
from tb_order_info a
|
||||
|
||||
where user_id = #{userId}
|
||||
and order_type='miniapp'
|
||||
<if test="status != null and status != ''">
|
||||
<choose>
|
||||
<when test="status == 'unpaid'">
|
||||
|
||||
@@ -170,6 +170,11 @@
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="upDateQrcodeNull" parameterType="java.lang.String">
|
||||
update tb_shop_table
|
||||
set qrcode = ''
|
||||
where qrcode = #{qrcode,jdbcType=VARCHAR}
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.chaozhanggui.system.cashierservice.entity.TbShopTable">
|
||||
update tb_shop_table
|
||||
<set>
|
||||
|
||||
@@ -384,6 +384,10 @@
|
||||
select * from tb_shop_user where user_id=#{userId} and shop_id=#{shopId}
|
||||
</select>
|
||||
|
||||
<select id="selectByPhoneAndShopId" resultMap="BaseResultMap">
|
||||
select * from tb_shop_user where telephone=#{phone} and shop_id=#{shopId}
|
||||
</select>
|
||||
|
||||
<select id="selectAllByUserId" resultMap="BaseResultMap">
|
||||
select * from tb_shop_user where user_id=#{userId}
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user