消息中心,打印修改

This commit is contained in:
张松
2025-03-07 10:18:47 +08:00
parent a136c24d84
commit 32082dad96
28 changed files with 729 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ public class FeiPrinter extends PrinterHandler implements PrinterImpl {
private static final String UKEY = "UfWkhXxSkeSSscsU";
public FeiPrinter() {
super("fePrinter");
super("飞鹅");
}
private final PrintSignLabel printSignLabel = new PrintSignLabel()

View File

@@ -142,7 +142,7 @@ public abstract class PrinterHandler {
if (StrUtil.isBlank(printerBrand)) {
throw new RuntimeException("打印机品牌未赋值");
}
return printerBrand.equals(currentBrand) && "network".equals(connectType);
return printerBrand.equals(currentBrand) && "网络".equals(connectType);
}
protected List<OrderDetail> getCanPrintOrderDetails(boolean partPrint, Long orderId, List<OrderDetail> tbOrderDetailList, List<?> categoryIds) {

View File

@@ -47,7 +47,7 @@ public class YxyPrinter extends PrinterHandler implements PrinterImpl {
private RestTemplate restTemplate;
public YxyPrinter() {
super("yxyPrinter");
super("云想印");
}
private PrintSignLabel printSignLabel = new PrintSignLabel()