|
@@ -120,7 +120,7 @@ public class ArchiveAiNameServiceImpl extends BaseServiceImpl<ArchiveAiNameMappe
|
|
|
String formattedDate = sdf.format(createTime);
|
|
|
archiveAiNameVO.setTaskTime(formattedDate);
|
|
|
archiveAiNameVO.setNum(archiveAiNames.size());
|
|
|
- archiveAiNameVO.setStatus(archiveAiNames.stream().allMatch(ai -> ai.getStatus() == 2) ? 2 : archiveAiNames.stream().allMatch(ai -> ai.getStatus() == 3)?3:1);
|
|
|
+ archiveAiNameVO.setStatus(archiveAiNames.stream().allMatch(ai -> ai.getStatus() >1) ? 2:1);
|
|
|
list.add(archiveAiNameVO);
|
|
|
}
|
|
|
}
|