qinchulong
2024-10-12 b17d60113095491a95557f6f785cb1c0e744e8cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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<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>().Where(X=>X.SynchronizationFlag==SynchronizationFlag).Includes(x => x.Dt_InboundOrderProductionDetailList).ToListAsync();
            return Dt_InboundOrderProductions;
        }
 
    }
}