Merge branch 'framework' of https://gitee.com/ccnetcore/Yi into framework

This commit is contained in:
陈淳
2023-02-22 17:03:50 +08:00
6 changed files with 29 additions and 16 deletions

View File

@@ -99,6 +99,7 @@ namespace Yi.RBAC.Application.Identity
}
entity.State = state;
await _repository.UpdateAsync(entity);
return await MapToGetOutputDtoAsync(entity);
}
}

View File

@@ -1,4 +1,5 @@
using NET.AutoWebApi.Setting;
using Microsoft.AspNetCore.Mvc;
using NET.AutoWebApi.Setting;
using SqlSugar;
using System;
using System.Collections.Generic;
@@ -29,5 +30,10 @@ namespace Yi.RBAC.Application.Logs
return new PagedResultDto<LoginLogGetListOutputDto>(total, await MapToGetListOutputDtosAsync(entities));
}
[NonAction]
public override Task<LoginLogGetListOutputDto> UpdateAsync(long id, LoginLogGetListOutputDto input)
{
return base.UpdateAsync(id, input);
}
}
}