fix: ExcelUtil.export() use passed fileName and sheetName
- Fix export method to use passed parameters instead of hardcoded defaults 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -141,7 +141,7 @@ public class ExcelUtil {
|
||||
*/
|
||||
@SneakyThrows
|
||||
public static <T> void export(HttpServletResponse response, String fileName, String sheetName, List<T> dataList, Class<T> clazz) {
|
||||
export(response, DateUtils.format(new Date(), DateUtils.DATE_FORMAT_14), "导出数据", dataList, null, clazz);
|
||||
export(response, fileName, sheetName, dataList, null, clazz);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user