diff --git a/Myshipping.Application/Entity/BookingStatusLog.cs b/Myshipping.Application/Entity/BookingStatusLog.cs index f5d9d118..3e283447 100644 --- a/Myshipping.Application/Entity/BookingStatusLog.cs +++ b/Myshipping.Application/Entity/BookingStatusLog.cs @@ -26,7 +26,7 @@ namespace Myshipping.Application.Entity /// /// 类别 /// - public string Gategory { get; set; } + public string Category { get; set; } /// /// 状态分类 /// diff --git a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs index 346776a5..64b38823 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs @@ -610,8 +610,8 @@ namespace Myshipping.Application foreach (var item in all) { //清空原有数据 - var old = await _repStatuslog.AsQueryable().Where(x => x.BookingId == item.BookingId && x.Gategory == "ship").ToListAsync(); - await _repStatuslog.DeleteAsync(x => x.BookingId == item.BookingId && x.Gategory == "ship"); + var old = await _repStatuslog.AsQueryable().Where(x => x.BookingId == item.BookingId && x.Category == "ship").ToListAsync(); + await _repStatuslog.DeleteAsync(x => x.BookingId == item.BookingId && x.Category == "ship"); foreach (var ot in old) { await _statuslogdetail.DeleteAsync(x => x.PId == ot.Id); @@ -619,7 +619,7 @@ namespace Myshipping.Application //新增数据 var bookingStatusLog = new BookingStatusLog(); bookingStatusLog.BookingId = item.BookingId; - bookingStatusLog.Gategory = "ship"; + bookingStatusLog.Category = "ship"; bookingStatusLog.CreatedTime = DateTime.Now; bookingStatusLog.Status = item.Status; bookingStatusLog.OpTime = item.OpTime; diff --git a/Myshipping.Application/Service/BookingOrder/Dto/BookingStatusLogDto.cs b/Myshipping.Application/Service/BookingOrder/Dto/BookingStatusLogDto.cs index 4fb88455..d6e3d696 100644 --- a/Myshipping.Application/Service/BookingOrder/Dto/BookingStatusLogDto.cs +++ b/Myshipping.Application/Service/BookingOrder/Dto/BookingStatusLogDto.cs @@ -26,7 +26,7 @@ namespace Myshipping.Application.Service.BookingOrder.Dto /// /// 类别 /// - public string Gategory { get; set; } + public string Category { get; set; } /// /// 状态分类 /// diff --git a/Myshipping.Report/Myshipping.Report.csproj.user b/Myshipping.Report/Myshipping.Report.csproj.user index 5831b7bf..c54031d1 100644 --- a/Myshipping.Report/Myshipping.Report.csproj.user +++ b/Myshipping.Report/Myshipping.Report.csproj.user @@ -8,7 +8,7 @@ - Debug|Any CPU + Release|Any CPU