WCS
dengjunjie
2024-10-17 a38b50675f2cf8e813bd337ca2f9d9456cc421d3
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_BusinessServices/Dt_InboundOrderDetailService.cs
对比新文件
@@ -0,0 +1,32 @@
锘縰sing WIDESEA_Core;
using WIDESEA_Core.BaseRepository;
using WIDESEA_Core.BaseServices;
using WIDESEA_IBusinessesRepository;
using WIDESEA_IBusinessServices;
using WIDESEA_Model.Models;
namespace WIDESEA_BusinessServices
{
    public class Dt_InboundOrderDetailService : ServiceBase<Dt_InboundOrderDetail, IDt_InboundOrderDetailRepository>, IDt_InboundOrderDetailService
    {
        private readonly IUnitOfWorkManage _unitOfWorkManage;
        public Dt_InboundOrderDetailService(IDt_InboundOrderDetailRepository BaseDal, IUnitOfWorkManage unitOfWorkManage) : base(BaseDal)
        {
            _unitOfWorkManage = unitOfWorkManage;
        }
        public WebResponseContent GetDetail(int InboundOrderID)
        {
            WebResponseContent content = new WebResponseContent();
            try
            {
                List<Dt_InboundOrderDetail> InboundOrderDetail = BaseDal.QueryData(x => x.OrderId == InboundOrderID).ToList();
                return WebResponseContent.Instance.OK(data: InboundOrderDetail);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }
}