文案调整
This commit is contained in:
parent
31cdc17236
commit
61ab58b704
|
@ -83,22 +83,28 @@ public class TAbilityApplicationController {
|
||||||
params.put("abilityprocess_v2", Boolean.TRUE); // 是否根据流程 abilityprocess_v2 来分页
|
params.put("abilityprocess_v2", Boolean.TRUE); // 是否根据流程 abilityprocess_v2 来分页
|
||||||
params.put("user_id", user == null ? null : user.getId());
|
params.put("user_id", user == null ? null : user.getId());
|
||||||
PageData<TAbilityApplicationDTO> page = tAbilityApplicationService.page(params);
|
PageData<TAbilityApplicationDTO> page = tAbilityApplicationService.page(params);
|
||||||
page.getList().stream().map(index -> {
|
List<TAbilityApplicationDTO> list =
|
||||||
List<TAbilityApplicationDTO> dtos =
|
page.getList().stream().map(index -> {
|
||||||
tAbilityApplicationService.getByInstanceId(index.getInstanceId());
|
List<TAbilityApplicationDTO> dtos =
|
||||||
if (!dtos.isEmpty()) {
|
tAbilityApplicationService.getByInstanceId(index.getInstanceId());
|
||||||
dtos.stream()
|
if (!dtos.isEmpty()) {
|
||||||
.limit(1l)
|
dtos.stream()
|
||||||
.forEach(dto -> {
|
.limit(1l)
|
||||||
BeanUtils.copyProperties(dto, index);
|
.forEach(dto -> {
|
||||||
if (StringUtils.isNotEmpty(index.getCameraList())) {
|
BeanUtils.copyProperties(dto, index);
|
||||||
index.setSystem("申请摄像头列表:" + index.getSystem() + " 等,共" + dtos.size() + "个");
|
if (StringUtils.isNotEmpty(index.getCameraList())) {
|
||||||
return;
|
if (dtos.size() > 1) {
|
||||||
}
|
index.setSystem("视频资源申请:(" + index.getSystem() + " 等" + dtos.size() + "个摄像头)");
|
||||||
});
|
} else {
|
||||||
}
|
index.setSystem("视频资源申请:" + index.getSystem());
|
||||||
return index;
|
}
|
||||||
}).collect(Collectors.toList());
|
return;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return index;
|
||||||
|
}).collect(Collectors.toList());
|
||||||
|
page.setList(list);
|
||||||
return new Result<PageData<TAbilityApplicationDTO>>().ok(page);
|
return new Result<PageData<TAbilityApplicationDTO>>().ok(page);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue