optimize
wet 1 year ago
parent 032957fce3
commit 863a274d87

@ -878,7 +878,6 @@ namespace Myshipping.Application
if (string.IsNullOrEmpty(entity.MBLNO) || string.IsNullOrEmpty(entity.CUSTNO)) if (string.IsNullOrEmpty(entity.MBLNO) || string.IsNullOrEmpty(entity.CUSTNO))
{ {
#region 取消货运动态 #region 取消货运动态
//配置中所有的货物状态 //配置中所有的货物状态
var config = _goodsStatusConfig.AsQueryable().Filter(null, true).Where(config => config.CreatedUserId == main.CreatedUserId).ToList(); var config = _goodsStatusConfig.AsQueryable().Filter(null, true).Where(config => config.CreatedUserId == main.CreatedUserId).ToList();
@ -947,8 +946,6 @@ namespace Myshipping.Application
#endregion #endregion
} }
if (main != null) if (main != null)
{ {
ordOut = main.Adapt<BookingOrderOutput>(); ordOut = main.Adapt<BookingOrderOutput>();
@ -2052,6 +2049,7 @@ namespace Myshipping.Application
OldValue = oldatd == null ? "" : oldatd.ToString(), OldValue = oldatd == null ? "" : oldatd.ToString(),
NewValue = item.OpTime == null ? "" : item.OpTime.ToString(), NewValue = item.OpTime == null ? "" : item.OpTime.ToString(),
}); });
await SendBookingOrder(new long[] { o.Id });
} }
if (!string.IsNullOrEmpty(o.VESSEL) && !string.IsNullOrEmpty(o.VOYNO)) if (!string.IsNullOrEmpty(o.VESSEL) && !string.IsNullOrEmpty(o.VOYNO))
{ {
@ -2080,6 +2078,7 @@ namespace Myshipping.Application
OldValue = _oldatd == null ? "" : _oldatd.ToString(), OldValue = _oldatd == null ? "" : _oldatd.ToString(),
NewValue = item.OpTime == null ? "" : item.OpTime.ToString(), NewValue = item.OpTime == null ? "" : item.OpTime.ToString(),
}); });
await SendBookingOrder(new long[] { o.Id });
} }

Loading…
Cancel
Save