mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-14 21:36:48 +08:00
feat:导出报名记录添加按照报名时间倒叙
This commit is contained in:
@@ -230,6 +230,8 @@ public class StudyCourseApi extends ApiBaseController{
|
|||||||
userInfoMap.put(user.getAid(), user);
|
userInfoMap.put(user.getAid(), user);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// 按报名时间倒序排序
|
||||||
|
signRecordList.sort(Comparator.comparing(StudySignup::getSignTime).reversed());
|
||||||
// 4. 原始数据→导出DTO(格式化处理:状态转中文、日期转字符串等)
|
// 4. 原始数据→导出DTO(格式化处理:状态转中文、日期转字符串等)
|
||||||
List<CourseSignDto> exportDtoList = new ArrayList<>();
|
List<CourseSignDto> exportDtoList = new ArrayList<>();
|
||||||
if (signRecordList != null) {
|
if (signRecordList != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user