修改bug

This commit is contained in:
2023-02-21 16:45:06 +08:00
parent 5786c493c7
commit 62c39ee163
4 changed files with 20 additions and 18 deletions
@@ -4,6 +4,7 @@ using IRaCIS.Core.Application.ViewModel;
using IRaCIS.Core.Domain.Share;
using MiniExcelLibs.Attributes;
using Newtonsoft.Json;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace IRaCIS.Core.Application.Contracts
@@ -243,9 +244,13 @@ namespace IRaCIS.Core.Application.Contracts
//public DateTime? SignDate { get; set; }
//public bool IsUrgent { get; set; }
//[ExcelFormat("yyyy-MM-dd")]
[ExcelFormat("MMMM dd, yyyy")]
public DateTime? FirstGiveMedicineTime { get; set; }
[ExcelColumn(Name = "FirstGiveMedicineTime", Format = "yyyy-MM-dd")]
public string FirstGiveMedicineTimeStr => FirstGiveMedicineTime?.ToString("yyyy-MM-dd");
public DateTime? OutEnrollmentTime { get; set; }
public DateTime? VisitOverTime { get; set; }
@@ -416,7 +421,7 @@ namespace IRaCIS.Core.Application.Contracts
public SubjectStatus SubjectStatus { get; set; }
public string TrialReadingCriterionName { get; set; }
[ExcelFormat("yyyy-MM-dd")]
public DateTime? FirstGiveMedicineTime { get; set; }
public string ModuleName { get; set; }
@@ -439,7 +444,7 @@ namespace IRaCIS.Core.Application.Contracts
public string Modality { get; set; } = string.Empty;
//[ExcelFormat("yyyy-MM-dd")]
[ExcelFormat("yyyy-MM-dd")]
public DateTime? StudyTime { get; set; }
public string SubjectCode { get; set; } = String.Empty;
@@ -1141,6 +1146,7 @@ namespace IRaCIS.Core.Application.Contracts
public RequestBackStateEnum RequestBackState { get; set; }
[ExcelFormat("yyyy-MM-dd")]
public DateTime? StudyTime { get; set; }
public DateTime? CheckTime { get; set; }
public CheckChanllengeTypeEnum CheckChallengeState { get; set; }