| | |
| | | import com.ruoyi.framework.aspectj.lang.enums.BusinessType; |
| | | import com.ruoyi.framework.web.domain.AjaxResult; |
| | | import com.ruoyi.stock.dto.ManufacturerDto; |
| | | import com.ruoyi.stock.execl.ManufacturerExcelDto; |
| | | import com.ruoyi.stock.pojo.Manufacturer; |
| | | import com.ruoyi.stock.service.ManufacturerService; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | |
| | | @Log(title = "厂家-下载模板", businessType = BusinessType.EXPORT) |
| | | @Operation(summary = "下载厂家模板") |
| | | public void downloadTemplate(HttpServletResponse response) { |
| | | ExcelUtil<Manufacturer> util = new ExcelUtil<>(Manufacturer.class); |
| | | ExcelUtil<ManufacturerExcelDto> util = new ExcelUtil<>(ManufacturerExcelDto.class); |
| | | util.importTemplateExcel(response, "厂家档案模板"); |
| | | } |
| | | |