maven
7 天以前 f4c7d769f06ff119e650a0a2b1f00e73324d5b7c
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, "客户档案模板");
    }
    /**
     * 导入客户档案