From b5d29e854715cf7c98e4e1d665e7fea1f5e967be Mon Sep 17 00:00:00 2001
From: wet <1034391973@qq.com>
Date: Tue, 15 Nov 2022 14:03:09 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=90=8D=E7=A7=B0=E6=9B=B4?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Myshipping.Application/Entity/BookingStatusLog.cs | 2 +-
.../Service/BookingOrder/BookingOrderService.cs | 6 +++---
.../Service/BookingOrder/Dto/BookingStatusLogDto.cs | 2 +-
Myshipping.Report/Myshipping.Report.csproj.user | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
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 8f1a5761..567b8013 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 _statuslog.AsQueryable().Where(x => x.BookingId == item.BookingId && x.Gategory == "ship").ToListAsync();
- await _statuslog.DeleteAsync(x => x.BookingId == item.BookingId && x.Gategory == "ship");
+ var old = await _statuslog.AsQueryable().Where(x => x.BookingId == item.BookingId && x.Category == "ship").ToListAsync();
+ await _statuslog.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