easyExcel export automatically add sequence number

1. Add fields to the entity class
insert image description here
2. Use the subscript + 1 of the for loop element as the serial number
insert image description here

Guess you like

Origin blog.csdn.net/qq_44798321/article/details/124823217