コード例 #1
0
 public IHttpActionResult AddRmaComment([FromBody] OPC_RMAComment comment, [UserId] int uid)
 {
     return(DoAction(() =>
     {
         _rmaService.UserId = uid;
         comment.CreateDate = DateTime.Now;
         comment.CreateUser = uid;
         comment.UpdateDate = comment.CreateDate;
         comment.UpdateUser = comment.CreateUser;
         _rmaService.AddComment(comment);
     }, "增加退货单备注失败"));
 }
コード例 #2
0
ファイル: RmaService.cs プロジェクト: huoxudong125/intime.opc
 public void AddComment(OPC_RMAComment comment)
 {
     _rmaCommentRepository.Create(comment);
 }