对比新文件 |
| | |
| | | 锘縰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; |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |