feat:[REQ-3488] 对ownerProjectWorkerIds字段查询进行实现

This commit is contained in:
liuyang 2025-01-13 15:42:07 +08:00
parent 8ebac1dcb5
commit 7f329ee8c8
2 changed files with 10 additions and 1 deletions

View File

@ -170,7 +170,6 @@ public class ListNodeReq extends PageReqV2 {
private Collection<Long> ownerWorkerIdentityIds;
/**
* todo 未实现
* 小组长项目工人id列表
*/
private Collection<Long> ownerProjectWorkerIds;

View File

@ -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;
}