Compare commits
2 Commits
fb4a856d04
...
b06178cdb4
Author | SHA1 | Date |
---|---|---|
|
b06178cdb4 | |
|
2409930d90 |
|
@ -217,6 +217,10 @@ public class BarcodeService {
|
|||
String concatenatedIds = bundles.stream()
|
||||
.map(bundle -> String.valueOf(bundle.getId()))
|
||||
.collect(Collectors.joining("\\"));
|
||||
int totalWrappedQuantity = bundles.stream()
|
||||
.mapToInt(e->e.getWrapQuantity().intValue())
|
||||
.sum();
|
||||
this.drawCenteredText(g2d, "Total-Pieces: " + totalWrappedQuantity, detailFont, x, y, pageWidth, cols, stickerSize.getMarginTop() + 270, stickerSize.getMarginLeft());
|
||||
this.drawCenteredText(g2d, "Sub-Bundles: " + concatenatedIds, detailFont, x, y, pageWidth, cols, stickerSize.getMarginTop() + 290, stickerSize.getMarginLeft());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue