/// <summary> /// 批量更新回复内容 /// </summary> /// <param name="comment"></param> /// <returns></returns> public bool QueryUserPdtCommentCusReply(UserPdtCommentCusReplyBody comment) { var req = Mapper.Map <UserPdtCommentCusReplyBody, UpdateCommentCusReplyPLIdRequest>(comment); var res = OpcClient.Send <UpdateCommentCusReplyPLIdResponse>(req); return(res.DoFlag); }
public JsonResult UpdateComment(UserPdtCommentCusReplyBody comment) { var result = new BaseResponse(); try { var res = UserPdtCommentClient.Instance.QueryUserPdtCommentCusReply(comment); if (res) { result.DoFlag = true; result.DoResult = "批量操作成功... ..."; } else { result.DoResult = "批量操作失败,请稍后重试... ..."; } } catch (Exception ex) { result.DoResult = "批量操作失败,请稍后重试... ..."; } return(Json(result, JsonRequestBehavior.AllowGet)); }