提交 4a2ec045 authored 作者: 刘海泉's avatar 刘海泉

Merge remote-tracking branch 'origin/v19.4_order_performance_progress_20240712' into test

...@@ -504,7 +504,7 @@ public class PerformanceProgressServiceImpl implements PerformanceProgressServi ...@@ -504,7 +504,7 @@ public class PerformanceProgressServiceImpl implements PerformanceProgressServi
// 计算接单率 // 计算接单率
public BigDecimal calcOrderedRate(BigDecimal orderedWeight,BigDecimal pendingWeight){ 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){ public BigDecimal calcOrderedWeight(String orderNo){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论