booking_auth_dev
wanghaomei 2 years ago
commit 644cc6ef2a

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

@ -610,8 +610,8 @@ namespace Myshipping.Application
foreach (var item in all) foreach (var item in all)
{ {
//清空原有数据 //清空原有数据
var old = await _repStatuslog.AsQueryable().Where(x => x.BookingId == item.BookingId && x.Gategory == "ship").ToListAsync(); var old = await _repStatuslog.AsQueryable().Where(x => x.BookingId == item.BookingId && x.Category == "ship").ToListAsync();
await _repStatuslog.DeleteAsync(x => x.BookingId == item.BookingId && x.Gategory == "ship"); await _repStatuslog.DeleteAsync(x => x.BookingId == item.BookingId && x.Category == "ship");
foreach (var ot in old) foreach (var ot in old)
{ {
await _statuslogdetail.DeleteAsync(x => x.PId == ot.Id); await _statuslogdetail.DeleteAsync(x => x.PId == ot.Id);
@ -619,7 +619,7 @@ namespace Myshipping.Application
//新增数据 //新增数据
var bookingStatusLog = new BookingStatusLog(); var bookingStatusLog = new BookingStatusLog();
bookingStatusLog.BookingId = item.BookingId; bookingStatusLog.BookingId = item.BookingId;
bookingStatusLog.Gategory = "ship"; bookingStatusLog.Category = "ship";
bookingStatusLog.CreatedTime = DateTime.Now; bookingStatusLog.CreatedTime = DateTime.Now;
bookingStatusLog.Status = item.Status; bookingStatusLog.Status = item.Status;
bookingStatusLog.OpTime = item.OpTime; bookingStatusLog.OpTime = item.OpTime;

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

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

Loading…
Cancel
Save