小票打印缺失套餐数量修复
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user