修改
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
he 2025-03-14 17:10:22 +08:00
parent bb9b1283bf
commit 2dac67618c
2 changed files with 3 additions and 0 deletions

View File

@ -167,6 +167,7 @@ namespace IRaCIS.Core.Application.Service
public async Task<IResponseOutput> DeleteAttachment(DeleteAttachment inDto) public async Task<IResponseOutput> DeleteAttachment(DeleteAttachment inDto)
{ {
var success = await _attachmentrepository.DeleteFromQueryAsync(t => inDto.Ids.Contains(t.Id)); var success = await _attachmentrepository.DeleteFromQueryAsync(t => inDto.Ids.Contains(t.Id));
await _attachmentrepository.SaveChangesAsync();
return ResponseOutput.Ok(); return ResponseOutput.Ok();
} }

View File

@ -10,6 +10,8 @@
public string FullPath { get; set; } = string.Empty; public string FullPath { get; set; } = string.Empty;
public string FileName { get; set; } = string.Empty; public string FileName { get; set; } = string.Empty;
public DateTime? CreateTime { get; set; } public DateTime? CreateTime { get; set; }
public DateTime? UpdateTime { get; set; }
public int Language { get; set; } public int Language { get; set; }
public bool ReUpload { get; set; } = false; public bool ReUpload { get; set; } = false;