/// <summary> /// 回复页面 /// </summary> /// <returns></returns> public ActionResult Maintain() { string sysNoText = Request["SysNo"]; if (!string.IsNullOrEmpty(sysNoText)) { int sysNo = 0; int.TryParse(sysNoText, out sysNo); ProductMatchedTradingInfo entity = ProductMatchedTradingService.LoadProductMatchedTradingWithoutReply(sysNo); if (entity == null) { return(RedirectToAction("Index", "ProductMatchedTrading")); } ViewBag.ProductMatchedTradingInfo = entity; } else { return(RedirectToAction("Index", "ProductMatchedTrading")); } return(View()); }
/// <summary> /// 根据编号,加载相应的评咨询 /// </summary> /// <param name="sysNo">The item system no.</param> /// <returns></returns> public static ProductMatchedTradingInfo LoadProductMatchedTradingWithoutReply(int sysNo) { ProductMatchedTradingInfo item = ProductMatchedTradingDA.LoadProductMatchedTrading(sysNo); return(item); }