booking_auth_dev
wanghaomei 2 years ago
commit 644cc6ef2a

@ -26,7 +26,7 @@ namespace Myshipping.Application.Entity
/// <summary>
/// 类别
/// </summary>
public string Gategory { get; set; }
public string Category { get; set; }
/// <summary>
/// 状态分类
/// </summary>

@ -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;

@ -26,7 +26,7 @@ namespace Myshipping.Application.Service.BookingOrder.Dto
/// <summary>
/// 类别
/// </summary>
public string Gategory { get; set; }
public string Category { get; set; }
/// <summary>
/// 状态分类
/// </summary>

@ -8,7 +8,7 @@
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>

Loading…
Cancel
Save