optimize
wet 2 years ago
parent c973bc32ea
commit 53e6406b95

@ -1620,13 +1620,13 @@ namespace Myshipping.Application
return t;
}
List<long> list = new List<long>();
list.Add((long)input.BookingId);
List<long> tslist = new List<long>();
tslist.Add((long)input.BookingId);
var itemcode = _cache.GetAllTenantParam().Result.Where(x => x.ParaCode == "BOOKING_DATA_PUSH" && x.TenantId == UserManager.TENANT_ID).Select(x => x.ItemCode).FirstOrDefault();
if (!string.IsNullOrEmpty(itemcode))
{
if (itemcode == "true")
await SendBookingOrder(list.ToArray());
await SendBookingOrder(tslist.ToArray());
_logger.LogInformation(input.BookingId + "货物状态推送成功!");
}
return null;

Loading…
Cancel
Save