cuilei
2025-05-28 62ad99ee2a374c1726730146335ed82cbcfacebb
lxzn-module-tms/src/main/java/org/jeecg/modules/tms/controller/OutboundOrderController.java
@@ -12,6 +12,7 @@
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;
@@ -180,9 +181,17 @@
    @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("出库成功");
    }