修改导表时间格式2
parent
44e9b211c2
commit
29dfa03d0f
|
@ -22,14 +22,14 @@ namespace IRaCIS.Application.Contracts
|
|||
[DictionaryTranslateAttribute("IsUserExitTrial")]
|
||||
public bool IsDeleted { get; set; }
|
||||
|
||||
[ExcelFormat("yyyy-MM-dd hh:mm:ss")]
|
||||
[ExcelFormat("yyyy-MM-dd HH:mm:ss")]
|
||||
public DateTime? DeletedTime { get; set; }
|
||||
|
||||
public Guid? SiteId { get; set; }
|
||||
public string Phone { get; set; } = String.Empty;
|
||||
public DateTime UpdateTime { get; set; }
|
||||
|
||||
[ExcelFormat("yyyy-MM-dd hh:mm:ss")]
|
||||
[ExcelFormat("yyyy-MM-dd HH:mm:ss")]
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
|
||||
|
@ -84,7 +84,7 @@ namespace IRaCIS.Application.Contracts
|
|||
|
||||
|
||||
[ExporterHeader(Format = "yyyy-mm-DD hh:mm:ss")]
|
||||
[ExcelFormat("yyyy-MM-dd hh:mm:ss")]
|
||||
[ExcelFormat("yyyy-MM-dd HH:mm:ss")]
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
|
||||
|
@ -118,7 +118,8 @@ namespace IRaCIS.Application.Contracts
|
|||
|
||||
public class ExcelExportInfo : TrialSelectDTO
|
||||
{
|
||||
public string CurrentTime { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
[ExcelFormat("yyyy-MM-dd HH:mm:ss")]
|
||||
public DateTime CurrentTime { get; set; } = DateTime.Now;
|
||||
|
||||
public bool IsEn_US { get; set; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue