修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
398baea876
commit
2c9fad60fb
|
@ -70,6 +70,20 @@ public class TrialNormalRecordService(IRepository<TrialNormalRecord> _trialNorma
|
|||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 授权文档
|
||||
/// </summary>
|
||||
/// <param name="inDto"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<IResponseOutput> AuthorizedTTrialNormalRecord(AuthorizedTrialFinalRecordInDto inDto)
|
||||
{
|
||||
await _trialNormalRecordRepository.UpdatePartialFromQueryAsync(t => inDto.Ids.Contains(t.Id), t => new TrialNormalRecord() { IsAuthorizedView = inDto.IsAuthorizedView });
|
||||
await _trialNormalRecordRepository.SaveChangesAsync();
|
||||
return ResponseOutput.Ok();
|
||||
}
|
||||
|
||||
|
||||
|
||||
[HttpDelete("{trialNormalRecordId:guid}")]
|
||||
public async Task<IResponseOutput> DeleteTrialNormalRecord(Guid trialNormalRecordId)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue