|
|
|
@ -21,6 +21,7 @@ import com.supervision.minio.service.MinioService;
|
|
|
|
|
import com.supervision.neo4j.service.Neo4jService;
|
|
|
|
|
import com.supervision.police.domain.*;
|
|
|
|
|
import com.supervision.police.dto.NoteRecordDTO;
|
|
|
|
|
import com.supervision.police.dto.NoteRecordFileDTO;
|
|
|
|
|
import com.supervision.police.vo.NoteRecordReqVO;
|
|
|
|
|
import com.supervision.police.dto.NoteRecordDetailDTO;
|
|
|
|
|
import com.supervision.police.mapper.NoteRecordSplitMapper;
|
|
|
|
@ -251,6 +252,9 @@ public class NoteRecordSplitServiceImpl extends ServiceImpl<NoteRecordSplitMappe
|
|
|
|
|
int fileCount = 0;
|
|
|
|
|
for (NoteRecordDetailDTO recordDetailDTO : noteRecordDetailDTOS) {
|
|
|
|
|
fileCount = fileCount + recordDetailDTO.getFileList().size();
|
|
|
|
|
// 获取文件的文件名称
|
|
|
|
|
Set<String> fileNameSet = recordDetailDTO.getFileList().stream().map(NoteRecordFileDTO::getFileName).collect(Collectors.toSet());
|
|
|
|
|
recordDetailDTO.setConfessionMaterial(CollUtil.join(fileNameSet, ";"));
|
|
|
|
|
CaseTaskRecord caseTaskRecord = taskRecordMap.get(recordDetailDTO.getId());
|
|
|
|
|
if (ObjectUtil.isNotEmpty(caseTaskRecord)) {
|
|
|
|
|
if (caseTaskRecord.getStatus() == 2) {
|
|
|
|
@ -271,7 +275,7 @@ public class NoteRecordSplitServiceImpl extends ServiceImpl<NoteRecordSplitMappe
|
|
|
|
|
}
|
|
|
|
|
noteRecordDetailDTO.setChildren(noteRecordDetailDTOS);
|
|
|
|
|
// 统计所有children的文件数量
|
|
|
|
|
noteRecordDetailDTO.setConfessionMaterial(fileCount);
|
|
|
|
|
noteRecordDetailDTO.setConfessionMaterial(String.valueOf(fileCount));
|
|
|
|
|
res.add(noteRecordDetailDTO);
|
|
|
|
|
}
|
|
|
|
|
List<NoteRecordDetailDTO> pager = ListUtils.Pager(size, page, res);
|
|
|
|
|