Spring Boot used in a note to easily convert Excel Download List

Examples of Use

@ResponseExcel(classFieldNames = {"name", "age", "address"}) 
@RequestMapping("/list")
public List list() {
return listUsers();
}

Among them, the use of ResponseExcel annotation and indicates the entity class fields, these fields will be easy to convert Excel file to download.

principle

GitHub:https://github.com/gaoice/easyexcel-spring-boot-starter

Welcome star.

 

Spring Boot used in a note to easily convert Excel Download List

Guess you like

Origin www.cnblogs.com/zouhao/p/12458089.html