라벨링 목록조회 수정

This commit is contained in:
DanielLee
2026-01-08 18:45:46 +09:00
parent 1e505e2ece
commit 3cdfe2d42c
2 changed files with 61 additions and 51 deletions

View File

@@ -196,14 +196,14 @@ public class LabelWorkDto {
@Schema(description = "1일전처리개수")
private Long day1AgoDoneCnt;
public Long getremindCnt() {
public Long getRemainCnt() {
return this.assignedCnt - this.doneCnt;
}
public double getDoneRate() {
Long dayDoneCnt = this.day3AgoDoneCnt + this.day2AgoDoneCnt + this.day1AgoDoneCnt;
long dayDoneCnt = this.day3AgoDoneCnt + this.day2AgoDoneCnt + this.day1AgoDoneCnt;
if (dayDoneCnt == null || dayDoneCnt == 0) {
if (dayDoneCnt == 0) {
return 0.0;
}
return (double) dayDoneCnt / 3;