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