打印修改
This commit is contained in:
@@ -168,10 +168,10 @@ public abstract class PrinterHandler {
|
|||||||
wrapper.like(PrintMachine::getPrintType, printType);
|
wrapper.like(PrintMachine::getPrintType, printType);
|
||||||
}
|
}
|
||||||
List<PrintMachine> list = printMachineService.list(wrapper);
|
List<PrintMachine> list = printMachineService.list(wrapper);
|
||||||
for (PrintMachine item : list) {
|
// for (PrintMachine item : list) {
|
||||||
//实际打印以传递的参数为准
|
// //实际打印以传递的参数为准
|
||||||
item.setPrintMethod(printMethod);
|
// item.setPrintMethod(printMethod);
|
||||||
}
|
// }
|
||||||
if (list.isEmpty()) {
|
if (list.isEmpty()) {
|
||||||
log.error("店铺未配置打印机,店铺id: {}", shopId);
|
log.error("店铺未配置打印机,店铺id: {}", shopId);
|
||||||
return list;
|
return list;
|
||||||
|
|||||||
Reference in New Issue
Block a user