feat:[REQ-3488] 对ownerProjectWorkerIds字段查询进行实现
This commit is contained in:
parent
8ebac1dcb5
commit
7f329ee8c8
@ -170,7 +170,6 @@ public class ListNodeReq extends PageReqV2 {
|
||||
private Collection<Long> ownerWorkerIdentityIds;
|
||||
|
||||
/**
|
||||
* todo 未实现
|
||||
* 小组长项目工人id列表
|
||||
*/
|
||||
private Collection<Long> ownerProjectWorkerIds;
|
||||
|
||||
@ -177,6 +177,16 @@ public class ListNodeCmdExe {
|
||||
.data(req.getProjectGroupStatus())
|
||||
.build())));
|
||||
}
|
||||
|
||||
// 项目内小组状态
|
||||
if (req.getOwnerProjectWorkerIds() != null) {
|
||||
listReq.setProfileQueries(QueryConditionAssembler.assemble(listReq.getProfileQueries(),
|
||||
ImmutableSet.of(MybatisPlusOperatorProcessor.JSONQuery.builder()
|
||||
.jsonPath("$.ownerProjectWorkerId")
|
||||
.operator(Operator.IN)
|
||||
.data(req.getOwnerProjectWorkerIds())
|
||||
.build())));
|
||||
}
|
||||
return listReq;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user