1.排队取号 列表查询sql修复
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user