打印样式修改

This commit is contained in:
谭凯凯
2024-10-15 10:56:22 +08:00
committed by Tankaikai
parent 71745dc96e
commit cb1d05a042
2 changed files with 34 additions and 24 deletions

View File

@@ -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;