fix: keep pallet labels on A4 templates
This commit is contained in:
+6
-5
@@ -21,13 +21,14 @@ public interface PrintPdfClient {
|
||||
record FbaPalletRequest(String templateCode, PageSpec pageSpec, String downloadFileName, List<FbaPalletLabel> labels) {}
|
||||
record FbaPalletLabel(String fbaWarehouseCode, String palletCode) {}
|
||||
|
||||
@PostMapping(value = "/inbound-marks", consumes = "application/json")
|
||||
ResponseEntity<byte[]> generateInboundMarks(
|
||||
@PostMapping(value = "/pallet-a4-labels", consumes = "application/json")
|
||||
ResponseEntity<byte[]> generatePalletA4Labels(
|
||||
@RequestHeader("X-Internal-Service-Token") String token,
|
||||
@RequestHeader(value = "X-Request-Id", required = false) String requestId,
|
||||
@RequestBody Request request);
|
||||
@RequestBody PalletA4Request request);
|
||||
|
||||
record PalletA4Request(String templateCode, PageSpec pageSpec, String downloadFileName, List<PalletA4Label> labels) {}
|
||||
record PalletA4Label(String heading, String reference, String palletCode) {}
|
||||
|
||||
record Request(String templateCode, PageSpec pageSpec, String downloadFileName, List<Label> labels) {}
|
||||
record PageSpec(BigDecimal widthMm, BigDecimal heightMm) {}
|
||||
record Label(String topCode, String warehouseText, String cartonText, String routeText, String qrContent) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user