修改文档删除2

Uat_Study
hang 2023-12-20 14:32:48 +08:00
parent 29dfa03d0f
commit d771ab0f6f
2 changed files with 3 additions and 3 deletions

View File

@ -115,7 +115,7 @@ namespace IRaCIS.Core.Application.Service
else //update
{
var dbbeforeEntity = await _commonDocumentRepository.UpdateFromDTOAsync(addOrEditCommonDocument, false, false, verifyExp1, verifyExp2);
var dbbeforeEntity = await _commonDocumentRepository.UpdateFromDTOAsync(addOrEditCommonDocument, true, true, verifyExp1, verifyExp2);
var filePath = FileStoreHelper.GetPhysicalFilePath(_hostEnvironment, dbbeforeEntity.Path);

View File

@ -118,8 +118,8 @@ namespace IRaCIS.Application.Contracts
public class ExcelExportInfo : TrialSelectDTO
{
[ExcelFormat("yyyy-MM-dd HH:mm:ss")]
public DateTime CurrentTime { get; set; } = DateTime.Now;
public string CurrentTime { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
public bool IsEn_US { get; set; }