打印查询修改
This commit is contained in:
parent
d3a27a8b76
commit
d0b932616f
|
|
@ -149,8 +149,18 @@ public abstract class PrinterHandler {
|
|||
.eq(PrintMachine::getShopId, shopId)
|
||||
.eq(PrintMachine::getSubType, subType)
|
||||
.eq(PrintMachine::getConnectionType, "网络");
|
||||
|
||||
if (StrUtil.isNotEmpty(printMethod)) {
|
||||
wrapper.in(PrintMachine::getPrintMethod, Arrays.asList(printMethod, "all"));
|
||||
if ("one".equals(printMethod)) {
|
||||
wrapper.in(PrintMachine::getPrintMethod, Arrays.asList("one", "all"));
|
||||
}
|
||||
if ("all".equals(printMethod)) {
|
||||
wrapper.in(PrintMachine::getPrintMethod, Arrays.asList("one", "normal", "all"));
|
||||
}
|
||||
|
||||
if ("normal".equals(printMethod)) {
|
||||
wrapper.in(PrintMachine::getPrintMethod, Arrays.asList("normal", "all"));
|
||||
}
|
||||
}
|
||||
if ("callTicket".equals(printType)) {
|
||||
printType = "queue";
|
||||
|
|
|
|||
Loading…
Reference in New Issue