排队桌型列表状态增加筛选
This commit is contained in:
@@ -368,6 +368,8 @@ public class TbCallServiceImpl implements TbCallService {
|
|||||||
.in(TbCallQueue::getCallTableId, tableIds);
|
.in(TbCallQueue::getCallTableId, tableIds);
|
||||||
if (state != null) {
|
if (state != null) {
|
||||||
query.eq(TbCallQueue::getState, state);
|
query.eq(TbCallQueue::getState, state);
|
||||||
|
}else {
|
||||||
|
query.in(TbCallQueue::getState, 0, 1);
|
||||||
}
|
}
|
||||||
Page<TbCallQueue> pageInfo = query
|
Page<TbCallQueue> pageInfo = query
|
||||||
.orderByAsc(TbCallQueue::getCreateTime)
|
.orderByAsc(TbCallQueue::getCreateTime)
|
||||||
|
|||||||
Reference in New Issue
Block a user