Пример #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);
            }
        }
Пример #2
0
 void IOrderCommentAppService.UpdateComment(OrderCommentInput comment)
 {
     _orderCommentRepository.AddComment(comment.MapTo <Entitys.OrderComment>());
 }