1.排队取号 取号列表查询fix

This commit is contained in:
2024-09-24 09:42:59 +08:00
parent 30ba4eb878
commit 3d784bd86a

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} -- 替换为目标用户的 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