fix(print): remove SKU from carton labels while retaining dropship A4 details

This commit is contained in:
2026-09-20 11:22:29 +08:00
parent 78a36d1a39
commit bbf000a38a
11 changed files with 16 additions and 29 deletions
@@ -49,7 +49,7 @@ public interface PrintPdfClient {
}
record Label(String topCode, String warehouseText, String cartonText,
String routeText, String qrContent, String skuCode) {
String routeText, String qrContent) {
}
record FreightA4PdfRequest(String templateCode, PageSpec pageSpec,
@@ -200,7 +200,7 @@ public class InboundCartonLabelPrintService {
private PrintPdfClient.Label toPrintLabel(InboundCartonLabels.Label label) {
return new PrintPdfClient.Label(label.topCode(), label.warehouseText(), label.cartonText(),
label.routeText(), label.boxCode(), label.skuCode());
label.routeText(), label.boxCode());
}
private ResponseEntity<byte[]> requirePdf(ResponseEntity<byte[]> response) {