|
@@ -173,6 +173,11 @@ public class BmstruckDetailsOrderServiceImpl implements IBmstruckDetailsOrderSer
|
|
|
if(bmstruckDetailsOrderMapper.getIsHaveDetailsOrder(weightTaskResultId) > 0 ){
|
|
|
continue;
|
|
|
}
|
|
|
+ BigDecimal netWeightIsNull = bmstruckDetailsOrderMapper.getNetWeight(weightTaskResultId);
|
|
|
+ if (netWeightIsNull == null) {
|
|
|
+ System.out.println("没有计量实绩,不生成结算数据:" + orderId);
|
|
|
+ continue;
|
|
|
+ }
|
|
|
|
|
|
try {
|
|
|
BigDecimal detailsAmountOld = generateTruckFeesNew(orderId, weightTaskResultId);
|
|
@@ -1112,17 +1117,17 @@ public class BmstruckDetailsOrderServiceImpl implements IBmstruckDetailsOrderSer
|
|
|
if (priceIdInt!=null&&priceIdInt.compareTo(BigDecimal.ZERO)!=0){
|
|
|
break;
|
|
|
}else {
|
|
|
-
|
|
|
- BigDecimal orderId = DataChange.dataToBigDecimal(map.get("orderId"));
|
|
|
- BigDecimal omsTruckOrderPriceId = bmstruckDetailsOrderMapper.getOmsTruckOrderPriceId(orderId);
|
|
|
- Map<String,Object> map1=new HashMap<>();
|
|
|
- map1.put("orderId",orderId);
|
|
|
- map1.put("priceId",omsTruckOrderPriceId);
|
|
|
- try {
|
|
|
- amsFeign.copySteelPrice(map1);
|
|
|
- } catch (Exception e) {
|
|
|
- e.printStackTrace();
|
|
|
- }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
|