|
@@ -1968,7 +1968,7 @@ public class TaskServiceImpl extends SuperServiceImpl<TTaskMapper, TTask> implem
|
|
|
// 已加工时长
|
|
|
int finalResult = (int) Math.round(result);
|
|
|
item.setProcessedTime(finalResult);
|
|
|
- item.setPoint(finalPoint);
|
|
|
+ item.setPoint(finalPoint>=100?100:finalPoint);
|
|
|
item.setRemainTime();
|
|
|
}else{
|
|
|
double result = ((beforeUseTime) / (60));
|
|
@@ -1977,7 +1977,7 @@ public class TaskServiceImpl extends SuperServiceImpl<TTaskMapper, TTask> implem
|
|
|
// 已加工时长
|
|
|
int finalResult = (int) Math.round(result);
|
|
|
item.setProcessedTime(finalResult);
|
|
|
- item.setPoint(finalPoint);
|
|
|
+ item.setPoint(finalPoint>=100?100:finalPoint);
|
|
|
item.setRemainTime();
|
|
|
}
|
|
|
|