修正評分計算彙總 bug
This commit is contained in:
@@ -3895,6 +3895,7 @@ export class ScoringService extends DatabaseServiceBase {
|
||||
completed: number;
|
||||
total: number;
|
||||
percentage: number;
|
||||
appCount: number;
|
||||
}> {
|
||||
try {
|
||||
console.log('🔍 獲取競賽評分進度,competitionId:', competitionId);
|
||||
@@ -3948,11 +3949,12 @@ export class ScoringService extends DatabaseServiceBase {
|
||||
return {
|
||||
completed,
|
||||
total,
|
||||
percentage
|
||||
percentage,
|
||||
appCount
|
||||
};
|
||||
} catch (error) {
|
||||
console.error('獲取評分進度失敗:', error);
|
||||
return { completed: 0, total: 0, percentage: 0 };
|
||||
return { completed: 0, total: 0, percentage: 0, appCount: 0 };
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user