|
@@ -630,6 +630,7 @@ public class OmstruckOrderServiceImpl implements IOmstruckOrderService {
|
|
|
}
|
|
|
|
|
|
if(jsonObject==null || "false".equals(jsonObject.getString("success"))){
|
|
|
+
|
|
|
throw new Exception("计量委托删除失败!");
|
|
|
}
|
|
|
}
|
|
@@ -958,6 +959,22 @@ public class OmstruckOrderServiceImpl implements IOmstruckOrderService {
|
|
|
throw new RuntimeException("委托发送失败!");
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ try {
|
|
|
+ int isHaveEnFactoryResult = omstruckOrderSeparateMapper.IsHaveEnFactoryResult(DataChange.dataToBigDecimal(orderMessage.get("lineId")));
|
|
|
+ if (isHaveEnFactoryResult == 0) {
|
|
|
+
|
|
|
+
|
|
|
+ orderMessage.put("orderId", orderId);
|
|
|
+ orderMessage.put("asd", 1);
|
|
|
+ Map<String, Object> mcMap = tmsTruckFeign.sendMeasureCommission(orderMessage);
|
|
|
+ if (!"200".equals(mcMap.get("code"))) {
|
|
|
+ throw new RuntimeException("委托发送失败!");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ } catch (RuntimeException e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (orderType ==12 || orderType ==13 || orderType ==14 || orderType ==19) {
|