修改
This commit is contained in:
@@ -253,6 +253,10 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
|
||||
public bool obtaionOrCancel { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 稽查泛型Dto
|
||||
/// </summary>
|
||||
/// <typeparam name="T">泛型</typeparam>
|
||||
public class DataInspectionDto<T> : IInspectionDTO, ISignDTO
|
||||
{
|
||||
|
||||
@@ -267,9 +271,7 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
|
||||
{
|
||||
if (auditInfo.JsonDetail.IsNullOrEmpty())
|
||||
{
|
||||
IsoDateTimeConverter timeFormat = new IsoDateTimeConverter();
|
||||
timeFormat.DateTimeFormat = "yyyy-MM-dd";
|
||||
auditInfo.JsonDetail = JsonConvert.SerializeObject(OptCommand, Newtonsoft.Json.Formatting.Indented, timeFormat);
|
||||
auditInfo.JsonDetail = JsonConvert.SerializeObject(OptCommand);
|
||||
}
|
||||
|
||||
return auditInfo;
|
||||
|
||||
Reference in New Issue
Block a user