| | |
| | | import com.ruoyi.framework.web.domain.AjaxResult; |
| | | import com.ruoyi.sales.pojo.SalesLedgerProduct; |
| | | import com.ruoyi.sales.service.ISalesLedgerProductService; |
| | | import com.ruoyi.sales.service.ISalesLedgerService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | ExcelUtil<ProductModelExportDto> excelUtil = new ExcelUtil<>(ProductModelExportDto.class); |
| | | excelUtil.importTemplateExcel(response, "产品规格导入模板"); |
| | | } |
| | | |
| | | /** |
| | | * 向下复制型号等 |
| | | */ |
| | | @Log(title = "向下复制型号等", businessType = BusinessType.INSERT) |
| | | @PostMapping("/downCopy") |
| | | public AjaxResult downCopy(@RequestBody ProductModelDto productModelDto) { |
| | | return toAjax(productModelService.downCopy(productModelDto)); |
| | | } |
| | | |
| | | } |