|
@@ -138,6 +138,7 @@ public class BmstruckDetailsOrderServiceImpl implements IBmstruckDetailsOrderSer
|
|
|
result += bmstruckDetailsOrderMapper.insertSelective(bmstruckDetailsOrder);
|
|
|
}catch (Exception e){
|
|
|
//不打印给控制台(有可能是正常情况)
|
|
|
+ e.printStackTrace();
|
|
|
}
|
|
|
}
|
|
|
return result;
|
|
@@ -257,6 +258,11 @@ public class BmstruckDetailsOrderServiceImpl implements IBmstruckDetailsOrderSer
|
|
|
BigDecimal priceId = (BigDecimal) priceMap.get("priceId");
|
|
|
BigDecimal priceValue = getPriceValue(priceId);
|
|
|
BigDecimal netWeight = getNetWeight(weightTaskResultId);
|
|
|
+ //用于给单价id为2400的生成详单
|
|
|
+ if (priceValue==null||priceValue.compareTo(BigDecimal.ZERO)==0){
|
|
|
+ //该值为任意给的值
|
|
|
+ priceValue=BigDecimal.TEN;
|
|
|
+ }
|
|
|
// 得到计费公式
|
|
|
String formula_string = null;
|
|
|
if (orderType.intValue() == 3) {
|
|
@@ -532,12 +538,12 @@ public class BmstruckDetailsOrderServiceImpl implements IBmstruckDetailsOrderSer
|
|
|
@Override
|
|
|
public int updateDetailsOrder(Map<String, Object> mapValue) {
|
|
|
BigDecimal orderId = DataChange.dataToBigDecimal(mapValue.get("orderId"));
|
|
|
+ BigDecimal priceId = DataChange.dataToBigDecimal(mapValue.get("priceId"));
|
|
|
try {
|
|
|
int i = insertSelective(orderId);
|
|
|
} catch (Exception e) {
|
|
|
//不打印给控制台(可能是正常情况)
|
|
|
}
|
|
|
- BigDecimal priceId = DataChange.dataToBigDecimal(mapValue.get("priceId"));
|
|
|
//根据运输订单id查询计费详单id
|
|
|
OmstruckOrder omstruckOrder = new OmstruckOrder();
|
|
|
omstruckOrder.setOrderId(orderId);
|