작업현황목록수정
This commit is contained in:
@@ -158,13 +158,13 @@ public class LabelWorkDto {
|
||||
@Schema(description = "Skip개수")
|
||||
private Long skipCnt;
|
||||
|
||||
@Schema(description = "Skip개수")
|
||||
@Schema(description = "3일전처리개수")
|
||||
private Long day3AgoDoneCnt;
|
||||
|
||||
@Schema(description = "Skip개수")
|
||||
@Schema(description = "2일전처리개수")
|
||||
private Long day2AgoDoneCnt;
|
||||
|
||||
@Schema(description = "Skip개수")
|
||||
@Schema(description = "1일전처리개수")
|
||||
private Long day1AgoDoneCnt;
|
||||
|
||||
public Long getremindCnt() {
|
||||
@@ -172,10 +172,12 @@ public class LabelWorkDto {
|
||||
}
|
||||
|
||||
public double getDoneRate() {
|
||||
if (this.doneCnt == null || this.assignedCnt == 0) {
|
||||
Long dayDoneCnt = this.day3AgoDoneCnt + this.day2AgoDoneCnt + this.day1AgoDoneCnt;
|
||||
|
||||
if (dayDoneCnt == null || dayDoneCnt == 0) {
|
||||
return 0.0;
|
||||
}
|
||||
return (double) this.doneCnt / this.assignedCnt * 100.0;
|
||||
return (double) dayDoneCnt / 3;
|
||||
}
|
||||
|
||||
public String getUserRoleName() {
|
||||
|
||||
Reference in New Issue
Block a user