|
@@ -301,6 +301,10 @@ public class BmstruckDetailsOrderServiceImpl implements IBmstruckDetailsOrderSer
|
|
BigDecimal orderType = bmstruckDetailsOrderMapper.getOrderType(orderId);
|
|
BigDecimal orderType = bmstruckDetailsOrderMapper.getOrderType(orderId);
|
|
BigDecimal priceId = DataChange.dataToBigDecimal(map.get("priceId"));
|
|
BigDecimal priceId = DataChange.dataToBigDecimal(map.get("priceId"));
|
|
BigDecimal priceValue = getPriceValue(priceId);
|
|
BigDecimal priceValue = getPriceValue(priceId);
|
|
|
|
+ if(priceValue==null){
|
|
|
|
+ //单价为Null,则返回0
|
|
|
|
+ return new BigDecimal(0);
|
|
|
|
+ }
|
|
BigDecimal netWeight = getNetWeight(weightTaskResultId);
|
|
BigDecimal netWeight = getNetWeight(weightTaskResultId);
|
|
// 得到计费公式
|
|
// 得到计费公式
|
|
String formula_string = null;
|
|
String formula_string = null;
|