Java Code Examples for com.ruoyi.common.utils.poi.ExcelUtil#importTemplateExcel()
The following examples show how to use
com.ruoyi.common.utils.poi.ExcelUtil#importTemplateExcel() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DemoOperateController.java From supplierShop with MIT License | 5 votes |
/** * 下载模板 */ @GetMapping("/importTemplate") @ResponseBody public AjaxResult importTemplate() { ExcelUtil<UserOperateModel> util = new ExcelUtil<UserOperateModel>(UserOperateModel.class); return util.importTemplateExcel("用户数据"); }
Example 2
Source File: SysUserController.java From supplierShop with MIT License | 5 votes |
@RequiresPermissions("system:user:view") @GetMapping("/importTemplate") @ResponseBody public AjaxResult importTemplate() { ExcelUtil<SysUser> util = new ExcelUtil<SysUser>(SysUser.class); return util.importTemplateExcel("用户数据"); }
Example 3
Source File: SysUserController.java From ruoyiplus with MIT License | 5 votes |
@RequiresPermissions("system:user:view") @GetMapping("/importTemplate") @ResponseBody public AjaxResult importTemplate() { ExcelUtil<SysUser> util = new ExcelUtil<SysUser>(SysUser.class); return util.importTemplateExcel("用户数据"); }
Example 4
Source File: SysUserController.java From RuoYi-Vue with MIT License | 4 votes |
@GetMapping("/importTemplate") public AjaxResult importTemplate() { ExcelUtil<SysUser> util = new ExcelUtil<SysUser>(SysUser.class); return util.importTemplateExcel("用户数据"); }