feat(hrm): 新增流程任务创建人查询功能

```
新增createBy字段到HrmFlowTaskBo中用于存储业务创建人信息,
并在HrmFlowTaskServiceImpl的查询逻辑中添加createBy的条件筛选,
支持按创建人查询流程任务。
```
This commit is contained in:
2025-12-31 13:41:26 +08:00
parent ea416bd890
commit fe65b21870
2 changed files with 4 additions and 0 deletions

View File

@@ -26,4 +26,7 @@ public class HrmFlowTaskBo extends BaseEntity {
/** 业务ID对应请假/出差/用印的 bizId */
private Long bizId;
//新增createBy
private String createBy;
}

View File

@@ -370,6 +370,7 @@ public class HrmFlowTaskServiceImpl implements IHrmFlowTaskService {
lqw.eq(bo.getStatus() != null, HrmFlowTask::getStatus, bo.getStatus());
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());
return lqw;
}
}