feat(hrm): 添加流程任务按创建时间倒序排序功能

- 在HrmFlowTaskServiceImpl中添加按创建时间倒序排列功能
- 优化流程任务查询结果的排序逻辑
This commit is contained in:
2026-02-27 15:00:34 +08:00
parent cb8d73917c
commit cb41bcf367

View File

@@ -387,6 +387,8 @@ public class HrmFlowTaskServiceImpl implements IHrmFlowTaskService {
lqw.eq(bo.getBizType() != null, HrmFlowTask::getBizType, bo.getBizType());
lqw.eq(bo.getBizId() != null, HrmFlowTask::getBizId, bo.getBizId());
lqw.eq(bo.getCreateBy() != null, HrmFlowTask::getCreateBy, bo.getCreateBy());
//根据创建时间倒叙
lqw.orderByDesc(HrmFlowTask::getCreateTime);
return lqw;
}
}