忽略dll文件git

This commit is contained in:
“wanyongkang”
2023-07-29 10:19:42 +08:00
parent 7f97317bcc
commit b562aba2b1
3868 changed files with 63608 additions and 385427 deletions

View File

@@ -1,34 +1,34 @@
using Hncore.Infrastructure.Service;
using Hncore.Pass.Vpn.Domain;
using Hncore.Pass.Vpn.Model;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hncore.Pass.Vpn.Service
{
public partial class ProductPackageService : ServiceBase<ProductPackageEntity>, IFindService
{
CourseContext m_DbContext;
ProductPackageUnitService m_ProductPackageUnitService;
public ProductPackageService(CourseContext dbContext
, ProductPackageUnitService _ProductPackageUnitService
, IHttpContextAccessor httpContextAccessor) : base(dbContext, httpContextAccessor)
{
m_DbContext = dbContext;
this.m_ProductPackageUnitService = _ProductPackageUnitService;
}
public async Task<List<PackageUnitItemModel>> GetBasePackages(int packageId)
{
var packageUnits = m_ProductPackageUnitService.Query(m => m.PackageId == packageId);
var query = from packageUnit in packageUnits
join package in this.Query(true) on packageUnit.BasePackageId equals package.Id
select new PackageUnitItemModel { Count = packageUnit.Count, Package = package };
return await query.ToListAsync();
}
}
}
using Hncore.Infrastructure.Service;
using Hncore.Pass.Vpn.Domain;
using Hncore.Pass.Vpn.Model;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hncore.Pass.Vpn.Service
{
public partial class ProductPackageService : ServiceBase<ProductPackageEntity>, IFindService
{
CourseContext m_DbContext;
ProductPackageUnitService m_ProductPackageUnitService;
public ProductPackageService(CourseContext dbContext
, ProductPackageUnitService _ProductPackageUnitService
, IHttpContextAccessor httpContextAccessor) : base(dbContext, httpContextAccessor)
{
m_DbContext = dbContext;
this.m_ProductPackageUnitService = _ProductPackageUnitService;
}
public async Task<List<PackageUnitItemModel>> GetBasePackages(int packageId)
{
var packageUnits = m_ProductPackageUnitService.Query(m => m.PackageId == packageId);
var query = from packageUnit in packageUnits
join package in this.Query(true) on packageUnit.BasePackageId equals package.Id
select new PackageUnitItemModel { Count = packageUnit.Count, Package = package };
return await query.ToListAsync();
}
}
}