liding
6 天以前 4858d6a68446a5153749eca8fae8ae099ac879a2
src/main/java/com/ruoyi/basic/controller/ProductController.java
@@ -17,8 +17,6 @@
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;
@@ -143,4 +141,14 @@
        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));
    }
}