1.排队取号 取号打印小票,增加订阅接口
This commit is contained in:
@@ -69,9 +69,14 @@
|
||||
LEFT JOIN
|
||||
tb_call_table b ON a.call_table_id = b.id
|
||||
WHERE
|
||||
a.open_id = #{openId} -- 替换为目标用户的 open_id
|
||||
AND a.shop_id = #{shopId}
|
||||
a.shop_id = #{shopId}
|
||||
AND a.create_day = #{today} -- 替换为目标日期
|
||||
<if test="openId != null and openId != ''">
|
||||
and a.open_id = #{openId} -- 替换为目标用户的 open_id
|
||||
</if>
|
||||
<if test="queueId != null">
|
||||
and a.id = #{queueId} -- 替换为目标用户的 open_id
|
||||
</if>
|
||||
GROUP BY
|
||||
a.id, a.user_id, b.name, b.note, b.wait_time
|
||||
ORDER BY
|
||||
|
||||
Reference in New Issue
Block a user