小票打印缺失套餐数量修复

This commit is contained in:
张松 2025-03-17 09:52:22 +08:00
parent 64ab323f11
commit 988c7644f5
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ public interface PrinterImpl {
JSONObject jsonObject = (JSONObject) subItem;
jsonObject.getJSONArray("goods").forEach(item -> {
String proName = ((JSONObject) item).getString("proName");
String qty = ((JSONObject) item).getString("number -> 1");
String qty = ((JSONObject) item).getString("number");
builder.append(StrUtil.format("({}) x {}", proName, qty))
.append(signLabelInfo.br);
});