| | |
| | | public async Task<PageOutput<OperateHistoryDto>> GetOperateHistoryByType(QueryOperateHistoryByTypeInput input) |
| | | { |
| | | var query = _operateHistory.AsQueryable(); |
| | | |
| | | switch (input.OperateHistoryType) |
| | | { |
| | | |
| | | case OperateHistoryTypeEnum.AccountManage: |
| | | query = query.Where(x => x.UserId == input.TypeId |
| | | && LifePaymentConstant.LogsSpecies.AccountManageOperateNameList.Contains(x.OperateName)); |
| | | |
| | | break; |
| | | case OperateHistoryTypeEnum.LifePayChannles: |
| | | query = query.Where(x => x.RelationId == input.TypeId); |
| | | |
| | | break; |
| | | default: |
| | | query = query.Where(x => x.RelationId == input.TypeId); |
| | | |