提交 9e999a7b authored 作者: zjm's avatar zjm

修改job计算时间错误

上级 fb38425e
流水线 #95 已失败 于阶段
......@@ -218,19 +218,19 @@ private float beyond(float count,float coefficient,Float time){
return beyond(count,coefficient,si);
}
private float advance(float count,float coefficient,Float time){
if (coefficient>1.2f){
private float advance(float count1,float coefficient1,Float time){
if (coefficient1>1.2f){
return 1.2f;
}
float remainingTime=time-6;
if (remainingTime<6){
return coefficient+0.025f*count;
return coefficient1+0.025f*count1;
}else {
coefficient=coefficient +0.025f*count;
coefficient1=coefficient1 +0.025f*count1;
}
count++;
return beyond(count,coefficient,remainingTime);
count1++;
return advance(count1,coefficient1,remainingTime);
}
private Float score(Date startTime,Date entTime){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论