fix achieved items error
parent
556502b7a2
commit
4402a24fa4
|
@ -111,7 +111,7 @@ public class DashboardService {
|
||||||
if (shiftTargetMinutesWise == 0) {
|
if (shiftTargetMinutesWise == 0) {
|
||||||
efficiency = 0f;
|
efficiency = 0f;
|
||||||
} else {
|
} else {
|
||||||
efficiency = approvedStitchingOfflineItems + (float) qcReject / shiftTargetMinutesWise;
|
efficiency = (float) approvedStitchingOfflineItems / shiftTargetMinutesWise;
|
||||||
}
|
}
|
||||||
progress.put("Stitching", (float) approvedStitchingOfflineItems + qcReject);
|
progress.put("Stitching", (float) approvedStitchingOfflineItems + qcReject);
|
||||||
progress.put("totalWips", (float) stitchingItemIds.size() - qcReject);
|
progress.put("totalWips", (float) stitchingItemIds.size() - qcReject);
|
||||||
|
|
Loading…
Reference in New Issue