小票打印bug修复
This commit is contained in:
@@ -89,6 +89,7 @@ public abstract class PrinterHandler {
|
||||
String categoryId = "0";
|
||||
if (isTemporary == 1) {
|
||||
item.setProductId(0);
|
||||
item.setProductSkuId(0);
|
||||
}
|
||||
// 台位费不打印
|
||||
if (item.getProductId().equals(-999)) {
|
||||
@@ -104,6 +105,8 @@ public abstract class PrinterHandler {
|
||||
if (isTemporary == 0 && sku == null) {
|
||||
log.error("商品不存在, id: {}", item.getProductSkuId());
|
||||
return;
|
||||
} else {
|
||||
sku = new TbProductSkuWithBLOBs();
|
||||
}
|
||||
if (StrUtil.isEmpty(machine.getClassifyPrint())) {
|
||||
log.error("分类打印是空, classifyPrint: {}", machine.getClassifyPrint());
|
||||
|
||||
Reference in New Issue
Block a user