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); } }
void IOrderCommentAppService.UpdateComment(OrderCommentInput comment) { _orderCommentRepository.AddComment(comment.MapTo <Entitys.OrderComment>()); }