cuilei
2025-05-28 62ad99ee2a374c1726730146335ed82cbcfacebb
lxzn-module-tms/src/main/java/org/jeecg/modules/tms/controller/OutboundOrderController.java
@@ -12,7 +12,9 @@
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;
import org.jeecg.modules.tms.entity.vo.OutboundDetailVo;
import org.jeecg.modules.tms.enums.OutBillStatus;
@@ -177,6 +179,22 @@
      return Result.OK("操作成功");
    }
    @AutoLog(value = "申请单方式出库")
    @ApiOperation(value = "申请单方式出库", notes = "申请单方式出库")
    @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("出库成功");
    }
    /**
     * 通过id删除
     * @param id