| | |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import jakarta.annotation.Resource; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | |
| | | |
| | | Page<WkOrder> page = new Page<>(curr, limit); |
| | | LambdaQueryWrapper<WkOrder> wkOrderLambdaQueryWrapper = new LambdaQueryWrapper<>(); |
| | | wkOrderLambdaQueryWrapper.eq(WkOrder::getType, OrderType.ORDER_OUT.type); |
| | | // wkOrderLambdaQueryWrapper.eq(WkOrder::getType, OrderType.ORDER_OUT.type); |
| | | wkOrderLambdaQueryWrapper.eq(WkOrder::getWkType, orderType); |
| | | wkOrderLambdaQueryWrapper.eq(!Cools.isEmpty(orderNo), WkOrder::getCode, orderNo); |
| | | Page<WkOrder> wkOrderPage = outStockService.page(page, wkOrderLambdaQueryWrapper); |
| | |
| | | return pdaOutStockService.containerRebinding(param,getLoginUserId()); |
| | | } |
| | | |
| | | @PostMapping("/orderOut/getOrderItem") |
| | | @ApiOperation("灌桶入库呼叫新料") |
| | | public R getOrderItem(@RequestBody PdaGeneralParam param) { |
| | | return pdaOutStockService.getOrderItem(param); |
| | | } |
| | | |
| | | @PostMapping("/orderOut/getStationArea") |
| | | @ApiOperation("灌桶入库呼叫新料") |
| | | public R getStationArea(@RequestBody PdaGeneralParam param) { |
| | | return pdaOutStockService.getStationArea(param); |
| | | } |
| | | |
| | | @PostMapping("/orderOut/productionDirectDelivery") |
| | | @ApiOperation("生产直送") |
| | | public R productionDirectDelivery(@RequestBody PdaGeneralParam param) { |
| | | return pdaOutStockService.productionDirectDelivery(param,getLoginUserId()); |
| | | } |
| | | |
| | | @PostMapping("/orderOut/finishedProductDirectOutput") |
| | | @ApiOperation("成品直出") |
| | | public R finishedProductDirectOutput(@RequestBody PdaGeneralParam param) { |
| | | return pdaOutStockService.finishedProductDirectOutput(param,getLoginUserId()); |
| | | } |
| | | |
| | | } |
| | | |