对比新文件 |
| | |
| | | 锘縰sing WIDESEA_Core.BaseRepository; |
| | | using WIDESEA_Core.BaseServices; |
| | | using WIDESEA_IBusinessesRepository; |
| | | using WIDESEA_IBusinessServices; |
| | | using WIDESEA_Model.Models; |
| | | |
| | | namespace WIDESEA_BusinessServices |
| | | { |
| | | public class Dt_InboundOrderPurchaseService : ServiceBase<Dt_InboundOrderPurchase, IDt_InboundOrderPurchaseRepository>, IDt_InboundOrderPurchaseService |
| | | { |
| | | private readonly IUnitOfWorkManage _unitOfWorkManage; |
| | | public Dt_InboundOrderPurchaseService(IDt_InboundOrderPurchaseRepository BaseDal, IUnitOfWorkManage unitOfWorkManage) : base(BaseDal) |
| | | { |
| | | _unitOfWorkManage = unitOfWorkManage; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 鑾峰彇鍘熷鍏ュ簱鍗曟嵁 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public async Task<List<Dt_InboundOrderPurchase>> GetDt_InboundOrderPurchase(int SynchronizationFlag) |
| | | { |
| | | List<Dt_InboundOrderPurchase> Dt_InboundOrderPurchases = await Db.Queryable<Dt_InboundOrderPurchase>().Where(X => X.SynchronizationFlag == SynchronizationFlag).Includes(x => x.Dt_InboundOrderPurchaseDetailList).ToListAsync(); |
| | | return Dt_InboundOrderPurchases; |
| | | } |
| | | |
| | | } |
| | | } |