|
@ -143,7 +143,7 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettingTables |
|
|
/// </remarks>
|
|
|
/// </remarks>
|
|
|
/// <param name="id">ID</param>
|
|
|
/// <param name="id">ID</param>
|
|
|
/// <returns>实体DTO</returns>
|
|
|
/// <returns>实体DTO</returns>
|
|
|
[HttpGet] |
|
|
[HttpPost] |
|
|
virtual public async Task<CodeSettingDto> GetAsync(Guid id) |
|
|
virtual public async Task<CodeSettingDto> GetAsync(Guid id) |
|
|
{ |
|
|
{ |
|
|
var result = await _repository.GetAsync(id); |
|
|
var result = await _repository.GetAsync(id); |
|
@ -179,7 +179,7 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettingTables |
|
|
/// </remarks>
|
|
|
/// </remarks>
|
|
|
/// <param name="input">请求条件</param>
|
|
|
/// <param name="input">请求条件</param>
|
|
|
/// <returns>实体DTO列表</returns>
|
|
|
/// <returns>实体DTO列表</returns>
|
|
|
[HttpGet] |
|
|
[HttpPost] |
|
|
virtual public async Task<PagedResultDto<CodeSettingDto>> GetListAsync(CodeSettingRequestDto input) |
|
|
virtual public async Task<PagedResultDto<CodeSettingDto>> GetListAsync(CodeSettingRequestDto input) |
|
|
{ |
|
|
{ |
|
|
var entities = await _repository.GetListByFilterAsync(input.BranchId, input.Filters, input.Sorting, input.MaxResultCount, |
|
|
var entities = await _repository.GetListByFilterAsync(input.BranchId, input.Filters, input.Sorting, input.MaxResultCount, |
|
@ -196,7 +196,7 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettingTables |
|
|
/// 获取实体总数
|
|
|
/// 获取实体总数
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
/// <returns>实体总数</returns>
|
|
|
/// <returns>实体总数</returns>
|
|
|
[HttpGet] |
|
|
[HttpPost] |
|
|
virtual public async Task<long> GetTotalCountAsync(Guid branchId) |
|
|
virtual public async Task<long> GetTotalCountAsync(Guid branchId) |
|
|
{ |
|
|
{ |
|
|
return await _repository.GetCountAsync(branchId); |
|
|
return await _repository.GetCountAsync(branchId); |
|
@ -206,7 +206,7 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettingTables |
|
|
/// 获取全部实体列表
|
|
|
/// 获取全部实体列表
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
/// <returns>实体DTO列表</returns>
|
|
|
/// <returns>实体DTO列表</returns>
|
|
|
[HttpGet] |
|
|
[HttpPost] |
|
|
virtual public async Task<ListResultDto<CodeSettingDto>> GetAllAsync(Guid branchId) |
|
|
virtual public async Task<ListResultDto<CodeSettingDto>> GetAllAsync(Guid branchId) |
|
|
{ |
|
|
{ |
|
|
var entities = await _repository.GetAllAsync(branchId, true); |
|
|
var entities = await _repository.GetAllAsync(branchId, true); |
|
|