|
|
|
@ -1,5 +1,7 @@ |
|
|
|
using System; |
|
|
|
using System.Linq; |
|
|
|
using EasyAbp.EShop.Payments.EntityFrameworkCore; |
|
|
|
using Microsoft.EntityFrameworkCore; |
|
|
|
using Volo.Abp.Domain.Repositories.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
|
|
|
|
@ -10,5 +12,10 @@ namespace EasyAbp.EShop.Payments.Payments |
|
|
|
public PaymentRepository(IDbContextProvider<PaymentsDbContext> dbContextProvider) : base(dbContextProvider) |
|
|
|
{ |
|
|
|
} |
|
|
|
|
|
|
|
public override IQueryable<Payment> WithDetails() |
|
|
|
{ |
|
|
|
return base.WithDetails().Include(x => x.PaymentItems); |
|
|
|
} |
|
|
|
} |
|
|
|
} |