提交 2bfbdbf0 authored 作者: 刘海泉's avatar 刘海泉

修改接单率和完成率比例值的问题

上级 e8eef8f6
......@@ -504,7 +504,7 @@ public class PerformanceProgressServiceImpl implements PerformanceProgressServi
// 计算接单率
public BigDecimal calcOrderedRate(BigDecimal orderedWeight,BigDecimal pendingWeight){
//接单率 = 接单吨数 / 挂单吨数
return orderedWeight.divide(pendingWeight,3, RoundingMode.HALF_UP);
return orderedWeight.divide(pendingWeight,3, RoundingMode.HALF_UP).multiply(new BigDecimal("100"));
}
public BigDecimal calcOrderedWeight(String orderNo){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论