调整时间显示

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>
/// 操作时间 /// 操作时间
/// </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>
/// 操作时间 /// 操作时间
/// </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>
/// 创建时间(出库时间) /// 创建时间(出库时间)
/// </summary> /// </summary>
public DateTime CreateTime { get; set; } = DateTime.Now; public string CreateTime { get; set; }
/// <summary> /// <summary>
/// 同步成功或者失败 null 就是未同步 /// 同步成功或者失败 null 就是未同步
/// </summary> /// </summary>

View File

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

View File

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

View File

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

View File

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

View File

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