小票打印缺失套餐数量修复
This commit is contained in:
parent
64ab323f11
commit
988c7644f5
|
|
@ -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);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue