using WIDESEA_Core.BaseRepository; using WIDESEA_Core.BaseServices; using WIDESEA_IBusinessesRepository; using WIDESEA_IBusinessServices; using WIDESEA_Model.Models; namespace WIDESEA_BusinessServices { public class Dt_InboundOrderProductionService : ServiceBase, IDt_InboundOrderProductionService { private readonly IUnitOfWorkManage _unitOfWorkManage; public Dt_InboundOrderProductionService(IDt_InboundOrderProductionRepository BaseDal, IUnitOfWorkManage unitOfWorkManage) : base(BaseDal) { _unitOfWorkManage = unitOfWorkManage; } /// /// 获取原始入库单据 /// /// public async Task> GetDt_InboundOrderProduction(int SynchronizationFlag) { List Dt_InboundOrderProductions = await Db.Queryable().Where(X=>X.SynchronizationFlag==SynchronizationFlag).Includes(x => x.Dt_InboundOrderProductionDetailList).ToListAsync(); return Dt_InboundOrderProductions; } } }