TASK:batch toProductImage;chatStream;
This commit is contained in:
@@ -2576,13 +2576,11 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
|
||||
@Override
|
||||
public IPage<CloudTaskVO> cloudPage(CloudPageDTO cloudPageDTO) {
|
||||
// 分页数据
|
||||
Set<Long> childProjectIdSet = projectService.getChildProjectIdSet(cloudPageDTO.getProjectId());
|
||||
childProjectIdSet.add(cloudPageDTO.getProjectId());
|
||||
// Set<Long> childProjectIdSet = projectService.getChildProjectIdSet(cloudPageDTO.getProjectId());
|
||||
// childProjectIdSet.add(cloudPageDTO.getProjectId());
|
||||
QueryWrapper<CloudTask> queryWrapper = new QueryWrapper<>();
|
||||
if (CollectionUtil.isNotEmpty(childProjectIdSet)) {
|
||||
queryWrapper.lambda().in(CloudTask::getProjectId, childProjectIdSet);
|
||||
}else {
|
||||
return new Page<>();
|
||||
if (null != cloudPageDTO.getProjectId()) {
|
||||
queryWrapper.lambda().eq(CloudTask::getProjectId, cloudPageDTO.getProjectId());
|
||||
}
|
||||
IPage<CloudTask> page = cloudTaskMapper.selectPage(
|
||||
new Page<>(cloudPageDTO.getPage(), cloudPageDTO.getSize()), queryWrapper);
|
||||
|
||||
Reference in New Issue
Block a user