feat(hrm): 添加流程任务按创建时间倒序排序功能
- 在HrmFlowTaskServiceImpl中添加按创建时间倒序排列功能 - 优化流程任务查询结果的排序逻辑
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user