排队取号,取号完成无法取号fix
This commit is contained in:
parent
780fce1416
commit
e7ca92eaaf
|
|
@ -183,7 +183,8 @@ public class TbCallServiceImpl implements TbCallService {
|
|||
.eq(TbCallQueue::getPhone, takeNumberDTO.getPhone())
|
||||
.eq(TbCallQueue::getShopId, takeNumberDTO.getShopId())
|
||||
.eq(TbCallQueue::getCreateDay, DateUtil.today())
|
||||
.eq(TbCallQueue::getIsPostpone, 0)
|
||||
.in(TbCallQueue::getState, 0, 1)
|
||||
.ne(TbCallQueue::getIsPostpone, 2)
|
||||
.eq(TbCallQueue::getCallTableId, takeNumberDTO.getCallTableId()).one();
|
||||
if (callQueue != null) {
|
||||
throw new BadRequestException("当前用户已取号");
|
||||
|
|
|
|||
Loading…
Reference in New Issue