| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.basic.dto.ProductDto; |
| | | import com.ruoyi.common.enums.StockInQualifiedRecordTypeEnum; |
| | | import com.ruoyi.common.enums.StockOutQualifiedRecordTypeEnum; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | |
| | | |
| | | @ApiOperation("查询库存原材料") |
| | | @GetMapping("/getMaterials") |
| | | public R getMaterials() { |
| | | return R.ok(stockInventoryService.getMaterials()); |
| | | public R getMaterials(StockInventoryDto stockInventoryDto) { |
| | | return R.ok(stockInventoryService.getMaterials(stockInventoryDto)); |
| | | } |
| | | |
| | | @ApiOperation("查询库存产品") |
| | | @GetMapping("/getStockInventoryAll") |
| | | public R getStockInventoryAll(ProductDto productDto) { |
| | | return R.ok(stockInventoryService.getStockInventoryAll(productDto)); |
| | | } |
| | | } |