功能: 扩展上传文件统计支持已删除状态

This commit is contained in:
wkc
2026-03-16 14:42:59 +08:00
parent 275fc7a264
commit e7ed2197e6
3 changed files with 21 additions and 0 deletions

View File

@@ -29,6 +29,9 @@ public class CcdiFileUploadStatisticsVO implements Serializable {
/** 解析失败数量 */
private Long parsedFailed;
/** 已删除数量 */
private Long deleted;
/** 总数量 */
private Long total;
}

View File

@@ -274,6 +274,7 @@ public class CcdiFileUploadServiceImpl implements ICcdiFileUploadService {
vo.setParsing(0L);
vo.setParsedSuccess(0L);
vo.setParsedFailed(0L);
vo.setDeleted(0L);
long total = 0L;
for (Map<String, Object> item : statusCounts) {
@@ -286,6 +287,7 @@ public class CcdiFileUploadServiceImpl implements ICcdiFileUploadService {
case "parsing" -> vo.setParsing(count);
case "parsed_success" -> vo.setParsedSuccess(count);
case "parsed_failed" -> vo.setParsedFailed(count);
case "deleted" -> vo.setDeleted(count);
}
}