|
@ -208,11 +208,11 @@ namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims |
|
|
[HttpPost] |
|
|
[HttpPost] |
|
|
[Route("list")] |
|
|
[Route("list")] |
|
|
//[Authorize(SettleAccountPermissions.SettleAccounts.Default)]
|
|
|
//[Authorize(SettleAccountPermissions.SettleAccounts.Default)]
|
|
|
virtual public async Task<PagedResultDto<ScrapClaimsDto>> GetListAsync(Guid id, ScrapClaimsRequestDto input) |
|
|
virtual public async Task<PagedResultDto<ScrapClaimsDto>> GetListAsync(ScrapClaimsRequestDto input) |
|
|
{ |
|
|
{ |
|
|
if (input.ParentId != Guid.Empty) |
|
|
if (!string.IsNullOrEmpty(input.Version)) |
|
|
{ |
|
|
{ |
|
|
input.Filters.Add(new FilterCondition() { Action = EnumFilterAction.Equal, Column = "ParentId", Logic = EnumFilterLogic.And, Value = input.ParentId.ToString() }); |
|
|
input.Filters.Add(new FilterCondition() { Action = EnumFilterAction.Equal, Column = "Version", Logic = EnumFilterLogic.And, Value = input.Version }); |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|