WCS
dengjunjie
2024-10-17 a38b50675f2cf8e813bd337ca2f9d9456cc421d3
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_BusinessServices/Dt_InboundOrderProductionService.cs
对比新文件
@@ -0,0 +1,28 @@
锘縰sing 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<Dt_InboundOrderProduction, IDt_InboundOrderProductionRepository>, IDt_InboundOrderProductionService
    {
        private readonly IUnitOfWorkManage _unitOfWorkManage;
        public Dt_InboundOrderProductionService(IDt_InboundOrderProductionRepository BaseDal, IUnitOfWorkManage unitOfWorkManage) : base(BaseDal)
        {
            _unitOfWorkManage = unitOfWorkManage;
        }
        /// <summary>
        /// 鑾峰彇鍘熷鍏ュ簱鍗曟嵁
        /// </summary>
        /// <returns></returns>
        public async Task<List<Dt_InboundOrderProduction>> GetDt_InboundOrderProduction(int SynchronizationFlag)
        {
            List<Dt_InboundOrderProduction> Dt_InboundOrderProductions = await Db.Queryable<Dt_InboundOrderProduction>().Includes(x => x.Dt_InboundOrderProductionDetailList).Where(X => X.SynchronizationFlag == SynchronizationFlag).ToListAsync();
            return Dt_InboundOrderProductions;
        }
    }
}