调整时间显示

This commit is contained in:
18942506660
2023-10-28 10:22:47 +08:00
parent 748d8c7f62
commit 80bb3ed3e7
8 changed files with 12 additions and 8 deletions

View File

@@ -52,6 +52,6 @@ namespace WMS.Web.Core.Dto.ChangeBoxRecord
/// <summary>
/// 操作时间
/// </summary>
public DateTime CreateTime { get; set; } = DateTime.Now;
public string CreateTime { get; set; }
}
}

View File

@@ -37,6 +37,6 @@ namespace WMS.Web.Core.Dto.MoveBoxRecord
/// <summary>
/// 操作时间
/// </summary>
public DateTime CreateTime { get; set; } = DateTime.Now;
public string CreateTime { get; set; }
}
}

View File

@@ -29,7 +29,7 @@ namespace WMS.Web.Core.Dto.OutStock
/// <summary>
/// 创建时间(出库时间)
/// </summary>
public DateTime CreateTime { get; set; } = DateTime.Now;
public string CreateTime { get; set; }
/// <summary>
/// 同步成功或者失败 null 就是未同步
/// </summary>

View File

@@ -20,7 +20,7 @@ namespace WMS.Web.Core.Dto.TakeStock
/// <summary>
/// 盘点日期
/// </summary>
public DateTime Date { get; set; }
public string Date { get; set; }
/// <summary>
/// 盘点人员
/// </summary>

View File

@@ -8,6 +8,7 @@ using System.Text;
using System.Threading.Tasks;
using WMS.Web.Core.Dto;
using WMS.Web.Core.Dto.ChangeBoxRecord;
using WMS.Web.Core.Help;
using WMS.Web.Domain.Entitys;
using WMS.Web.Domain.Infrastructure;
using WMS.Web.Repositories.Configuration;
@@ -91,7 +92,7 @@ namespace WMS.Web.Repositories
SrcSubStock = "",
DestSubStock = "",
Creator = "",
CreateTime =s.CreateTime
CreateTime =s.CreateTime.DateToStringSeconds()
#endregion
}).Skip((dto.PageNo - 1) * dto.PageSize).Take(dto.PageSize).ToListAsync();

View File

@@ -7,6 +7,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WMS.Web.Core.Dto.MoveBoxRecord;
using WMS.Web.Core.Help;
using WMS.Web.Domain.Entitys;
using WMS.Web.Domain.Infrastructure;
using WMS.Web.Repositories.Configuration;
@@ -87,7 +88,7 @@ namespace WMS.Web.Repositories
Qty = 0,
Type = "",
Creator = "",
CreateTime = s.CreateTime
CreateTime = s.CreateTime.DateToStringSeconds()
#endregion
}).Skip((dto.PageNo - 1) * dto.PageSize).Take(dto.PageSize).ToListAsync();

View File

@@ -7,6 +7,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WMS.Web.Core.Dto.OutStock;
using WMS.Web.Core.Help;
using WMS.Web.Domain.Entitys;
using WMS.Web.Domain.Infrastructure;
using WMS.Web.Repositories.Configuration;
@@ -84,7 +85,7 @@ namespace WMS.Web.Repositories
Status = "",
Type = "",
Creator = "",
CreateTime=s.CreateTime,
CreateTime=s.CreateTime.DateToStringSeconds(),
SuccessSync = s.SuccessSync,
Stock = "",
SourceBillNo="",

View File

@@ -7,6 +7,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WMS.Web.Core.Dto.TakeStock;
using WMS.Web.Core.Help;
using WMS.Web.Domain.Entitys;
using WMS.Web.Domain.Infrastructure;
using WMS.Web.Repositories.Configuration;
@@ -91,7 +92,7 @@ namespace WMS.Web.Repositories
ResultType="",
Remark="",
Creator = "",
Date = s.Date,
Date = s.Date.DateToStringSeconds(),
SuccessSync=s.SuccessSync
#endregion