|
|
@ -3,10 +3,8 @@ package com.yxt.wms.apiadmin.aggregation; |
|
|
|
import com.yxt.common.core.query.PagerQuery; |
|
|
|
import com.yxt.common.core.result.ResultBean; |
|
|
|
import com.yxt.common.core.vo.PagerVo; |
|
|
|
import com.yxt.wms.biz.func.inventoryadjustment.InventoryAdjustmentDto; |
|
|
|
import com.yxt.wms.biz.func.inventoryadjustment.InventoryAdjustmentQuery; |
|
|
|
import com.yxt.wms.biz.func.inventoryadjustment.InventoryAdjustmentService; |
|
|
|
import com.yxt.wms.biz.func.inventoryadjustment.InventoryAdjustmentVo; |
|
|
|
import com.yxt.wms.biz.func.inventoryadjustment.*; |
|
|
|
import com.yxt.wms.biz.func.warehouseinventory.AvailableCountVo; |
|
|
|
import com.yxt.wms.utils.OrgPathQuery; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
@ -18,6 +16,7 @@ import org.springframework.web.multipart.MultipartFile; |
|
|
|
import javax.servlet.http.HttpServletRequest; |
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
import java.io.IOException; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
/** |
|
|
|
* @author wangpengfei |
|
|
@ -72,4 +71,9 @@ public class InventoryAdjustmentRest { |
|
|
|
public void download(HttpServletRequest request, HttpServletResponse response) { |
|
|
|
inventoryAdjustmentService.download(request, response); |
|
|
|
} |
|
|
|
@ApiOperation("调整库存") |
|
|
|
@PostMapping("/adjustment") |
|
|
|
public ResultBean adjustment(@RequestBody adjustmentDto dto) { |
|
|
|
return inventoryAdjustmentService.adjustment(dto); |
|
|
|
} |
|
|
|
} |
|
|
|