jianghaiqing 1 year ago
commit 8a8d12c7a5

@ -2155,16 +2155,24 @@ namespace Myshipping.Application
//生成提箱小票 //生成提箱小票
var allowCarrier = _cache.GetAllDictData().Result.Where(x => x.TypeCode == "txxp_carrier_list").Select(x => x.Code).ToList(); var allowCarrier = _cache.GetAllDictData().Result.Where(x => x.TypeCode == "txxp_carrier_list").Select(x => x.Code).ToList();
if (allowCarrier.Contains(order.CARRIERID)) if (allowCarrier.Contains(order.CARRIERID))
{
try
{ {
var txxpLink = await TxxpLink(input.BookingId); var txxpLink = await TxxpLink(input.BookingId);
} }
catch { }
}
//vgm链接 //vgm链接
allowCarrier = _cache.GetAllDictData().Result.Where(x => x.TypeCode == "vgm_carrier_list").Select(x => x.Code).ToList(); allowCarrier = _cache.GetAllDictData().Result.Where(x => x.TypeCode == "vgm_carrier_list").Select(x => x.Code).ToList();
if (allowCarrier.Contains(order.CARRIERID)) if (allowCarrier.Contains(order.CARRIERID))
{
try
{ {
await VgmLink(input.BookingId); await VgmLink(input.BookingId);
} }
catch { }
}
await SendLetterYard(input.BookingId); await SendLetterYard(input.BookingId);
return rtnId; return rtnId;

@ -2386,7 +2386,7 @@ namespace Myshipping.Application
&&x.IsDeleted==false &&x.IsDeleted==false
&& x.TenantId == UserManager.TENANT_ID && x.TenantId == UserManager.TENANT_ID
&& (x.Voyno != null && x.Voyno != "") && (x.Voyno != null && x.Voyno != "")
&& x.ETD < DateTime.Today.AddDays(20)) //2023年7月19日根据吴悦蓉反馈查询3周左右的即可再远的无效而且也会产生无效提醒 && x.ETD < DateTime.Today.AddDays(15)) //2023年7月19日根据吴悦蓉反馈查询3周左右的即可再远的无效而且也会产生无效提醒2023年7月25日改为2周
.Select(x => new .Select(x => new
{ {
Vessel = x.Vessel, Vessel = x.Vessel,

Loading…
Cancel
Save