yuan
5 天以前 c29e0d624eaceb5d7db1bd078a9b9b4a72d7ef49
src/main/java/com/ruoyi/basic/controller/CustomerController.java
@@ -53,6 +53,13 @@
        util.exportExcel(response, list, "客户档案数据");
    }
    @PostMapping("/downloadTemplate")
    @Log(title = "客户档案-下载模板", businessType = BusinessType.EXPORT)
    public void downloadTemplate(HttpServletResponse response) {
        ExcelUtil<Customer> util = new ExcelUtil<Customer>(Customer.class);
        util.importTemplateExcel(response, "客户档案模板");
    }
    /**
     * 导入客户档案