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); } }
public Dto.OrderOuputDto QueryByOrderId(string orderId) { return(_orderRepository.QueryByOrderId(orderId).MapTo <Dto.OrderOuputDto>()); }