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

Test_IRC_Net8
he 2025-03-03 17:20:38 +08:00
parent a6b81b038f
commit b6da27ac07
2 changed files with 17 additions and 0 deletions

View File

@ -21,6 +21,11 @@ public class TrialFinalRecordView : TrialFinalRecordAddOrEdit
}
public class DeleteTrialNormalRecordListInDto
{
public List<Guid> Ids { get; set; }
}
public class AuthorizedTrialFinalRecordInDto
{
public List<Guid> Ids { get; set; }

View File

@ -111,6 +111,18 @@ public class TrialNormalRecordService(IRepository<TrialNormalRecord> _trialNorma
return ResponseOutput.Ok();
}
/// <summary>
/// 批量删除一般文件记录
/// </summary>
/// <param name="inDto"></param>
/// <returns></returns>
[HttpPost]
public async Task<IResponseOutput> DeleteTrialNormalRecordList(DeleteTrialNormalRecordListInDto inDto)
{
var success = await _trialNormalRecordRepository.DeleteFromQueryAsync(t => inDto.Ids.Contains(t.Id), true);
return ResponseOutput.Ok();
}
}