修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
a6b81b038f
commit
b6da27ac07
|
@ -21,6 +21,11 @@ public class TrialFinalRecordView : TrialFinalRecordAddOrEdit
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class DeleteTrialNormalRecordListInDto
|
||||||
|
{
|
||||||
|
public List<Guid> Ids { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
public class AuthorizedTrialFinalRecordInDto
|
public class AuthorizedTrialFinalRecordInDto
|
||||||
{
|
{
|
||||||
public List<Guid> Ids { get; set; }
|
public List<Guid> Ids { get; set; }
|
||||||
|
|
|
@ -111,6 +111,18 @@ public class TrialNormalRecordService(IRepository<TrialNormalRecord> _trialNorma
|
||||||
return ResponseOutput.Ok();
|
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();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue