|
|
@ -103,7 +103,7 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
{
|
|
|
|
{
|
|
|
|
it.BusinessId,
|
|
|
|
it.BusinessId,
|
|
|
|
}).ExecuteCommand();
|
|
|
|
}).ExecuteCommand();
|
|
|
|
CreateLink(info.BusinessId, tenantDb);
|
|
|
|
//CreateLink(info.BusinessId, tenantDb);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return DataResult.Successed("保存成功!", MultiLanguageConst.DataUpdateSuccess);
|
|
|
|
return DataResult.Successed("保存成功!", MultiLanguageConst.DataUpdateSuccess);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -125,18 +125,18 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
OrgId = user.OrgId
|
|
|
|
OrgId = user.OrgId
|
|
|
|
};
|
|
|
|
};
|
|
|
|
var carrCode = seaComService.GetCarrierCode(order.CarrierId, tenantDb);
|
|
|
|
var carrCode = seaComService.GetCarrierCode(order.CarrierId, tenantDb);
|
|
|
|
if (allowTxxpCarrier.Contains(carrCode))
|
|
|
|
//if (allowTxxpCarrier.Contains(carrCode))
|
|
|
|
{
|
|
|
|
//{
|
|
|
|
BackgroundJob.Enqueue<IOpJobService>(c => c.TxxpLinkJob(jobReq));
|
|
|
|
// BackgroundJob.Enqueue<IOpJobService>(c => c.TxxpLinkJob(jobReq));
|
|
|
|
}
|
|
|
|
//}
|
|
|
|
//vgm链接
|
|
|
|
//vgm链接
|
|
|
|
var allowVgmCarrier = db.Queryable<SysDictData>()
|
|
|
|
var allowVgmCarrier = db.Queryable<SysDictData>()
|
|
|
|
.InnerJoin<SysDictType>((a, b) => a.TypeId == b.Id).Where((a, b) => b.Code == "vgm_carrier_list").Select((a, b) => a.Value).ToList();
|
|
|
|
.InnerJoin<SysDictType>((a, b) => a.TypeId == b.Id).Where((a, b) => b.Code == "vgm_carrier_list").Select((a, b) => a.Value).ToList();
|
|
|
|
|
|
|
|
|
|
|
|
if (allowVgmCarrier.Contains(carrCode))
|
|
|
|
//if (allowVgmCarrier.Contains(carrCode))
|
|
|
|
{
|
|
|
|
//{
|
|
|
|
BackgroundJob.Enqueue<IOpJobService>(c => c.VgmLinkJob(jobReq));
|
|
|
|
// BackgroundJob.Enqueue<IOpJobService>(c => c.VgmLinkJob(jobReq));
|
|
|
|
}
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public DataResult<OpBusinessYardRes> GetOpBusinessYardInfo(string id)
|
|
|
|
public DataResult<OpBusinessYardRes> GetOpBusinessYardInfo(string id)
|
|
|
|