feat(hrm): 新增流程任务创建人查询功能
``` 新增createBy字段到HrmFlowTaskBo中用于存储业务创建人信息, 并在HrmFlowTaskServiceImpl的查询逻辑中添加createBy的条件筛选, 支持按创建人查询流程任务。 ```
This commit is contained in:
@@ -26,4 +26,7 @@ public class HrmFlowTaskBo extends BaseEntity {
|
||||
|
||||
/** 业务ID:对应请假/出差/用印的 bizId */
|
||||
private Long bizId;
|
||||
|
||||
//新增createBy
|
||||
private String createBy;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user