|
@@ -154,8 +154,9 @@ public class OmstrainOrderServiceImpl implements IOmstrainOrderService {
|
|
|
List<Map<String,Object>> data =(List<Map<String, Object>>) RemoteMap.get("data");
|
|
|
//根据汽运订单查找分属于哪个异地库。
|
|
|
String inwardWarehouse = omstrainOrderMapper.getInwardWarehouse(orderId);
|
|
|
+ String outOfWarehouse = omstrainOrderMapper.getOutOfWarehouse(orderId);
|
|
|
if (inwardWarehouse!=null) {
|
|
|
- if (inwardWarehouse.contains("重庆金田")) {
|
|
|
+ if (inwardWarehouse.contains("重庆金田") || "钢材重庆组".equals(outOfWarehouse)) {
|
|
|
for (Map<String,Object> jitianMap:data) {
|
|
|
Map<String, Object> orchardStorehouse = new HashMap<>();
|
|
|
List<Map<String, Object>> orchardStorehouseList = new ArrayList<>();
|
|
@@ -178,7 +179,7 @@ public class OmstrainOrderServiceImpl implements IOmstrainOrderService {
|
|
|
//调用果园库接口
|
|
|
sendMesToGuoyuan(orchardStorehouse);
|
|
|
}
|
|
|
- } else if (inwardWarehouse.contains("成都城嘉")) {
|
|
|
+ } else if (inwardWarehouse.contains("成都城嘉") || "钢材成都组".equals(outOfWarehouse)) {
|
|
|
//调用城嘉库登录接口获取token
|
|
|
//调用城嘉库推送接口
|
|
|
String token = DagonloginChenJiaku();
|