optimize
wet 1 year ago
parent b41d39984a
commit e454a0d2cc

@ -122,7 +122,8 @@ namespace Myshipping.Application
if ((dto.ETA != null || dto.ETD != null || dto.ATD != null) && !string.IsNullOrEmpty(dto.Vessel) && !string.IsNullOrEmpty(dto.Voyno)&&!string.IsNullOrEmpty(dto.CARRIERID)) if ((dto.ETA != null || dto.ETD != null || dto.ATD != null) && !string.IsNullOrEmpty(dto.Vessel) && !string.IsNullOrEmpty(dto.Voyno)&&!string.IsNullOrEmpty(dto.CARRIERID))
{ {
var order=await _order.AsQueryable().Filter(null, true).Where(x => x.TenantId == UserManager.TENANT_ID && x.IsDeleted == false && x.VESSEL == dto.Vessel && x.VOYNO == dto.Voyno&&x.CARRIERID==dto.CARRIERID).ToListAsync(); var order=await _order.AsQueryable().Filter(null, true).Where(x => x.TenantId == UserManager.TENANT_ID && x.IsDeleted == false && x.VESSEL == dto.Vessel && x.VOYNO == dto.Voyno
&&x.CARRIERID==dto.CARRIERID&&x.CARRIER==dto.CARRIER).ToListAsync();
bool issend = false; bool issend = false;
if (order != null) if (order != null)
{ {

Loading…
Cancel
Save