모델등록 수정

This commit is contained in:
2026-01-27 16:48:57 +09:00
parent c7b316e968
commit 575c98f651

View File

@@ -230,9 +230,9 @@ public class ModelMngDto {
private int chunkTotalIndex; private int chunkTotalIndex;
public double getUploadRate() { public double getUploadRate() {
if (this.chunkTotalIndex == 0) { // if (this.chunkTotalIndex == 0) {
return 0.0; // return 0.0;
} // }
return (double) (this.chunkIndex + 1) / (this.chunkTotalIndex + 1) * 100.0; return (double) (this.chunkIndex + 1) / (this.chunkTotalIndex + 1) * 100.0;
} }
} }