Ejemplo n.º 1
0
 public ActionResult Edit(string id)
 {
     try
     {
         var item  = SYS_CURRQUEUEHIST_DAL.GetSub(id);
         var model = new CurrqueuehistModel()
         {
             CHQUEUE_COUNTER     = item.CHQUEUE_COUNTER,
             CHQUEUE_ETIME       = item.CHQUEUE_ETIME,
             CHQUEUE_NSRMC       = item.CHQUEUE_NSRMC,
             CHQUEUE_NSRSBM      = item.CHQUEUE_NSRSBM,
             CHQUEUE_PJRESULT    = item.CHQUEUE_PJRESULT,
             CHQUEUE_QSERIALID   = item.CHQUEUE_QSERIALID,
             CHQUEUE_SNO         = item.CHQUEUE_SNO,
             CHQUEUE_SYSNO       = item.CHQUEUE_SYSNO,
             CHQUEUE_TRANSCODEID = item.CHQUEUE_TRANSCODEID,
             HALL_NAM            = item.HALL_NAM,
             Q_SERIALNAME        = item.Q_SERIALNAME,
             STAFF_NAM           = item.STAFF_NAM
         };
         return(View(model));
     }
     catch (Exception ex)
     {
         LogHelper.ErrorLog("查看出错", ex);
         return(RedirectToAction("Error", "Home"));
     }
 }
Ejemplo n.º 2
0
 public ActionResult Details(string id)
 {
     try
     {
         var model = SYS_CURRQUEUEHIST_DAL.GetSub(id);
         return(View(model));
     }
     catch (Exception ex)
     {
         LogHelper.ErrorLog("查看出错", ex);
         return(RedirectToAction("Error", "Home"));
     }
 }