|
|
|
@ -103,7 +103,7 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
{
|
|
|
|
|
it.BusinessId,
|
|
|
|
|
}).ExecuteCommand();
|
|
|
|
|
CreateLink(info.BusinessId, tenantDb);
|
|
|
|
|
//CreateLink(info.BusinessId, tenantDb);
|
|
|
|
|
}
|
|
|
|
|
return DataResult.Successed("保存成功!", MultiLanguageConst.DataUpdateSuccess);
|
|
|
|
|
}
|
|
|
|
@ -125,18 +125,18 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
OrgId = user.OrgId
|
|
|
|
|
};
|
|
|
|
|
var carrCode = seaComService.GetCarrierCode(order.CarrierId, tenantDb);
|
|
|
|
|
if (allowTxxpCarrier.Contains(carrCode))
|
|
|
|
|
{
|
|
|
|
|
BackgroundJob.Enqueue<IOpJobService>(c => c.TxxpLinkJob(jobReq));
|
|
|
|
|
}
|
|
|
|
|
//if (allowTxxpCarrier.Contains(carrCode))
|
|
|
|
|
//{
|
|
|
|
|
// BackgroundJob.Enqueue<IOpJobService>(c => c.TxxpLinkJob(jobReq));
|
|
|
|
|
//}
|
|
|
|
|
//vgm链接
|
|
|
|
|
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();
|
|
|
|
|
|
|
|
|
|
if (allowVgmCarrier.Contains(carrCode))
|
|
|
|
|
{
|
|
|
|
|
BackgroundJob.Enqueue<IOpJobService>(c => c.VgmLinkJob(jobReq));
|
|
|
|
|
}
|
|
|
|
|
//if (allowVgmCarrier.Contains(carrCode))
|
|
|
|
|
//{
|
|
|
|
|
// BackgroundJob.Enqueue<IOpJobService>(c => c.VgmLinkJob(jobReq));
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public DataResult<OpBusinessYardRes> GetOpBusinessYardInfo(string id)
|
|
|
|
|