1.排队取号 顺延支持重复取号
This commit is contained in:
@@ -90,6 +90,7 @@ public class TbCallServiceImpl implements TbCallService {
|
|||||||
.eq(TbCallQueue::getShopId, takeNumberDTO.getShopId())
|
.eq(TbCallQueue::getShopId, takeNumberDTO.getShopId())
|
||||||
.eq(TbCallQueue::getCreateDay, DateUtil.today())
|
.eq(TbCallQueue::getCreateDay, DateUtil.today())
|
||||||
.in(TbCallQueue::getState, 0, 1)
|
.in(TbCallQueue::getState, 0, 1)
|
||||||
|
.eq(TbCallQueue::getIsPostpone, 0)
|
||||||
.eq(TbCallQueue::getCallTableId, takeNumberDTO.getCallTableId()).one();
|
.eq(TbCallQueue::getCallTableId, takeNumberDTO.getCallTableId()).one();
|
||||||
if (callQueue != null) {
|
if (callQueue != null) {
|
||||||
throw new MsgException("您已取号,请勿重复取号");
|
throw new MsgException("您已取号,请勿重复取号");
|
||||||
|
|||||||
Reference in New Issue
Block a user