优化
This commit is contained in:
+1
-1
@@ -169,7 +169,7 @@ public class PlatformInboundOrderController {
|
|||||||
@PreAuthorize("hasAuthority('platform:firstleg:inbound:view')")
|
@PreAuthorize("hasAuthority('platform:firstleg:inbound:view')")
|
||||||
public ResponseEntity<byte[]> printCartonLabelsBatch(
|
public ResponseEntity<byte[]> printCartonLabelsBatch(
|
||||||
@AuthenticationPrincipal AuthenticatedUser user,
|
@AuthenticationPrincipal AuthenticatedUser user,
|
||||||
@RequestBody @Size(min = 1, max = 200) List<@Valid InboundCartonLabels.PlatformBatchItem> items,
|
@RequestBody @Size(min = 1, max = 200) List<InboundCartonLabels.PlatformBatchItem> items,
|
||||||
@RequestHeader(value = "X-Request-Id", required = false) String requestId) {
|
@RequestHeader(value = "X-Request-Id", required = false) String requestId) {
|
||||||
requirePlatform(user);
|
requirePlatform(user);
|
||||||
return cartonLabelPrintService.generateForPlatformInbounds(items, requestId);
|
return cartonLabelPrintService.generateForPlatformInbounds(items, requestId);
|
||||||
|
|||||||
Reference in New Issue
Block a user