1.排队取号 列表查询sql修复

This commit is contained in:
2024-09-24 11:50:58 +08:00
parent 55ba2943d3
commit 3465c86830
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@
a.shop_id = #{shopId}
AND a.create_day = #{today} -- 替换为目标日期
<if test="openId != null and openId != ''">
and a.open_id = #{openId} or a.open_id is null -- 替换为目标用户的 open_id
and (a.open_id = #{openId} or a.open_id is null) -- 替换为目标用户的 open_id
</if>
<if test="queueId != null">
and a.id = #{queueId} -- 替换为目标用户的 open_id