Ejemplo n.º 1
0
        void IOrderCommentAppService.AddComment(OrderCommentInput comment)
        {
            _orderCommentRepository.AddComment(comment.MapTo <Entitys.OrderComment>());
            var item = _orderRepository.QueryByOrderId(comment.F_OrderId);

            if (null != item)
            {
                item.Status = 3;
                _orderRepository.OrderAssign(item);
            }
        }
Ejemplo n.º 2
0
 public Dto.OrderOuputDto QueryByOrderId(string orderId)
 {
     return(_orderRepository.QueryByOrderId(orderId).MapTo <Dto.OrderOuputDto>());
 }