修改启用禁用查询
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
hang 2025-01-03 17:16:13 +08:00
parent 522d619ee8
commit 25648a8a69
1 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ namespace IRaCIS.Core.Application.Service
[HttpPut]
public async Task<IResponseOutput> UpdateTrialUserRole(UpdateTrialUserRoleCommand updateCommand)
{
await _trialUseRoleRepository.UpdatePartialFromQueryAsync(t => updateCommand.IdList.Contains(t.Id), u => new TrialUserRole() { IsDeleted = updateCommand.IsDeleted }, true);
await _trialUseRoleRepository.UpdatePartialFromQueryAsync(t => updateCommand.IdList.Contains(t.Id), u => new TrialUserRole() { IsDeleted = updateCommand.IsDeleted }, true, true);
return ResponseOutput.Ok();
}