| | |
| | | using System.Linq.Expressions; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Common.OrderEnum; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseServices; |
| | | using WIDESEA_Core.Enums; |
| | |
| | | #endregion |
| | | |
| | | Dt_OutboundOrder outboundOrder = _mapper.Map<Dt_OutboundOrder>(orderAddDTO); |
| | | outboundOrder.OrderStatus = InboundStatusEnum.æªå¼å§.ObjToInt(); |
| | | outboundOrder.OrderStatus = OutOrderStatusEnum.æªå¼å§.ObjToInt(); |
| | | bool a = BaseDal.Db.InsertNav(outboundOrder).Include(x => x.Details).ExecuteCommand(); |
| | | content = WebResponseContent.Instance.OK(); |
| | | } |
| | |
| | | { |
| | | expressionOrder = x => x.OrderNo.Contains(outboundOrderGetDTO.OrderNo); |
| | | } |
| | | int count = BaseDal.QueryData(x => x.OrderStatus == OutboundStatusEnum.æªå¼å§.ObjToInt()).ToList().Count(); |
| | | int count = BaseDal.QueryData(x => x.OrderStatus == OutOrderStatusEnum.æªå¼å§.ObjToInt()).ToList().Count(); |
| | | int maxPage = Convert.ToInt32(Math.Ceiling(count / 10.0)); |
| | | if (outboundOrderGetDTO.pageNo <= maxPage) |
| | | { |