1.排队取号 顺延支持重复取号

This commit is contained in:
2024-09-23 11:12:48 +08:00
parent 4908f87d19
commit 10916d2c5d

View File

@@ -90,7 +90,7 @@ public class TbCallServiceImpl implements TbCallService {
.eq(TbCallQueue::getShopId, takeNumberDTO.getShopId())
.eq(TbCallQueue::getCreateDay, DateUtil.today())
.in(TbCallQueue::getState, 0, 1)
.eq(TbCallQueue::getIsPostpone, 0)
.ne(TbCallQueue::getIsPostpone, 2)
.eq(TbCallQueue::getCallTableId, takeNumberDTO.getCallTableId()).one();
if (callQueue != null) {
throw new MsgException("您已取号,请勿重复取号");