| | |
| | | } |
| | | |
| | | @Log(title = "下载库存导入模板", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/exportStockInventory") |
| | | public void exportStockInventory(HttpServletResponse response) { |
| | | @PostMapping("/downloadStockInventory") |
| | | public void downloadStockInventory(HttpServletResponse response) { |
| | | List<StockInventoryExportData> list = new ArrayList<>(); |
| | | ExcelUtil<StockInventoryExportData> util = new ExcelUtil<>(StockInventoryExportData.class); |
| | | util.exportExcel(response, list, "下载薪资管理列表模板"); |
| | | util.exportExcel(response, list, "库存模板"); |
| | | } |
| | | |
| | | @PostMapping("/exportStockInventory") |
| | | @ApiOperation("导出库存") |
| | | public void exportStockInventory(HttpServletResponse response,StockInventoryDto stockInventoryDto) { |
| | | stockInventoryService.exportStockInventory(response,stockInventoryDto); |
| | | } |
| | | } |