优化
This commit is contained in:
+9
@@ -27,6 +27,15 @@ public class OutboundPdaController {
|
||||
identity.operatorKey(), taskNo, request));
|
||||
}
|
||||
|
||||
@PostMapping("/{taskNo}/pallets/{palletNo}/pick")
|
||||
public ApiResponse<DeliveryResponses.PdaTask> pickPallet(@AuthenticationPrincipal AuthenticatedUser user,
|
||||
@PathVariable String taskNo, @PathVariable String palletNo,
|
||||
@Valid @RequestBody DeliveryRequests.PdaPalletPick request) {
|
||||
PdaWarehouseIdentity identity = PdaWarehouseIdentity.require(user);
|
||||
return ApiResponse.success(service.pdaPickPallet(String.valueOf(identity.overseasWarehouseId()),
|
||||
identity.operatorKey(), taskNo, palletNo, request));
|
||||
}
|
||||
|
||||
@GetMapping
|
||||
public ApiResponse<java.util.List<DeliveryResponses.PdaTask>> list(@AuthenticationPrincipal AuthenticatedUser user,
|
||||
@RequestParam(required=false) String status) {
|
||||
|
||||
Reference in New Issue
Block a user