public ActionResult AppPage(string nodeId, string pageId, string jobId, string taskId, string procId, string draftId, string areaCode, string topic = null, string isPrint = "0", string param = null, string displayLanguages = null, string isPdf = "0", string isWaiting = "0") { if (string.IsNullOrWhiteSpace(pageId)) { return(new JsonResult() { JsonRequestBehavior = JsonRequestBehavior.AllowGet, Data = "该链接无效,请检查单号或者页面是否存在。" }); } ViewBag.pageId = pageId; ViewBag.jobId = jobId; ViewBag.nodeId = nodeId; ViewBag.taskId = taskId; ViewBag.procId = procId; ViewBag.draftId = draftId; ViewBag.isPrint = isPrint; ViewBag.areaCode = areaCode; ViewBag.param = param; ViewBag.isPdf = isPdf; ViewBag.displayLanguages = displayLanguages; ViewBag.topic = topic; ViewBag.isWaiting = isWaiting; var node = DbDapper.Get <WfdWorkflowNode>(nodeId); ViewBag.nodeType = node?.Type; return(View()); }
public ActionResult Mpl01Report(string nodeId, string pageId, string jobId, string taskId, string procId, string draftId, string areaCode, string isPrint = "0", string param = null) { if (string.IsNullOrWhiteSpace(pageId)) { return(new JsonResult() { JsonRequestBehavior = JsonRequestBehavior.AllowGet, Data = "该链接无效,请检查单号或者页面是否存在。" }); } ViewBag.pageId = pageId; ViewBag.jobId = jobId; ViewBag.nodeId = nodeId; ViewBag.taskId = taskId; ViewBag.procId = procId; ViewBag.draftId = draftId; ViewBag.isPrint = isPrint; ViewBag.areaCode = areaCode; var node = DbDapper.Get <WfdWorkflowNode>(nodeId); ViewBag.nodeType = node?.Type; return(View()); }
public virtual T Get(string id) { return(DbDapper.Get <T>(id, DbConnection, DbTransaction)); }