| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 根据订单编号获取订单 |
| | | /// </summary> |
| | | /// <param name="orderIds">订单编号</param> |
| | | /// <returns></returns> |
| | | public IEnumerable<EC_OrderBasic> GetOrderByIds(string orderIds) |
| | | { |
| | | return _eC_OrderBasicDAL.GetOrderByIds(orderIds); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 根据订单编号获取自动外协订单 |
| | | /// </summary> |
| | | /// <param name="orderId">订单编号</param> |
| | |
| | | { |
| | | Condition += " and ( DATEDIFF(DAY,GETDATE(),ob.[DeliveryTime]) >7 or DATEDIFF(DAY,GETDATE(),oe.[DelayTime])>7 )"; |
| | | } |
| | | else if (DeliveryTime == "逾期") |
| | | { |
| | | Condition += " and ( DATEDIFF(DAY,GETDATE(),ob.[DeliveryTime])<=0 or DATEDIFF(DAY,GETDATE(),oe.[DelayTime])<=0 )"; |
| | | } |
| | | |
| | | } |
| | | |