修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
bb9b1283bf
commit
2dac67618c
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue