| | |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.util.TranslateDictTextUtils; |
| | | import org.jeecg.modules.tms.entity.dto.OutBoundAddDto; |
| | | import org.jeecg.modules.tms.entity.dto.OutBoundOrderFlowDto; |
| | | import org.jeecg.modules.tms.entity.dto.OutBoundRequestDto; |
| | | import org.jeecg.modules.tms.entity.dto.OutboundOrderAndDetailDto; |
| | |
| | | |
| | | @AutoLog(value = "申请单方式出库") |
| | | @ApiOperation(value = "申请单方式出库", notes = "申请单方式出库") |
| | | @PostMapping(value = "/outBound") |
| | | public Result<?> outBound(@RequestBody List<OutBoundRequestDto> outBoundRequestList) { |
| | | outboundOrderService.outBound(outBoundRequestList); |
| | | @PostMapping(value = "/outBoundByApply") |
| | | public Result<?> outBoundByApply(@RequestBody List<OutBoundRequestDto> outBoundRequestList) { |
| | | outboundOrderService.outBoundByApply(outBoundRequestList); |
| | | return Result.OK("出库成功"); |
| | | } |
| | | |
| | | @AutoLog(value = "新增方式出库") |
| | | @ApiOperation(value = "新增方式出库", notes = "新增方式出库") |
| | | @PostMapping(value = "/outBoundByAdd") |
| | | public Result<?> outBoundByAdd(@RequestBody List<OutBoundAddDto> boundAddList) { |
| | | outboundOrderService.outBoundByAdd(boundAddList); |
| | | return Result.OK("出库成功"); |
| | | } |
| | | |