lingling
2025-03-19 a8833caf55053b94c4b2c1c01d10181d49eac822
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using LifePayment.Domain.Models;
using System.Linq;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
 
namespace LifePayment.Domain
{
    public interface IChannelFilter
    {
 
 
        public IQueryable<LifePayOrder> GetChannelLifePayOrderFilter(IQueryable<LifePayOrder> query);
 
        public IQueryable<LifePayUser> GetChannelLifePayUserFilter(IQueryable<LifePayUser> query);
 
        //public static IQueryable<T> GetChannleQuery<T>(this IQueryable<T> query, ChannelFilterInput input) where T : class, IChannelData
        //{
        //    if (query == null)
        //    {
        //        return query;
        //    }
        //    if (input.Channels != null && input.Channels.Any())
        //    {
        //        query = query.Where(r => input.Channels.Contains(r.ChannelId));
        //    }
        //    return query;
        //}
 
    }
 
 
 
    //public interface IChannelData
    //{
    //   public Guid ChannleId { get; set; }
    //}
 
    //public class ChannelFilterInput
    //{
    //    public List<Guid> Channels { get; set; } = new List<Guid>();
    //}
 
}