排队取号保存号码
This commit is contained in:
parent
a73530df84
commit
67af4f1463
|
|
@ -140,6 +140,7 @@ public class TbCallServiceImpl implements TbCallService {
|
|||
callQueue = callQueueService.lambdaQuery()
|
||||
.eq(TbCallQueue::getUserId, shopUser.getId())
|
||||
.eq(TbCallQueue::getShopId, takeNumberDTO.getShopId())
|
||||
.in(TbCallQueue::getState, 0, 1)
|
||||
.eq(TbCallQueue::getCallTableId, takeNumberDTO.getCallTableId()).one();
|
||||
if (callQueue != null) {
|
||||
throw new BadRequestException("当前用户已取号");
|
||||
|
|
|
|||
Loading…
Reference in New Issue