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