| | |
| | | } |
| | | else |
| | | { |
| | | object obj = Repository.QueryPage(x => x.OrderNo == orderNo, pageNo, 10, new Dictionary<string, OrderByType> { { nameof(Dt_InboundOrder.CreateDate), OrderByType.Desc } }).Rows.Select(x => new |
| | | object obj = Repository.QueryPage(x => x.OrderNo.Contains(orderNo), pageNo, 10, new Dictionary<string, OrderByType> { { nameof(Dt_InboundOrder.CreateDate), OrderByType.Desc } }).Rows.Select(x => new |
| | | { |
| | | x.OrderNo, |
| | | x.UpperOrderNo, |
| | |
| | | return WebResponseContent.Instance.OK(data: obj); |
| | | } |
| | | } |
| | | |
| | | public WebResponseContent QueryOrderDetailInfo(int pageNo, string orderNo) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | Dt_InboundOrder inboundOrder = GetInboundOrder(orderNo); |
| | | List<Dt_InboundOrderDetail> inboundOrderDetails = inboundOrder.Details; |
| | | content.OK(data: inboundOrderDetails); |
| | | return content; |
| | | } |
| | | } |
| | | } |