public ActionResult Edit(int id, string staffId, string serialId) { try { var item = STAT_STAFF_EVALSTAT_M_DAL.GetSub(id, staffId); var model = new StaffEvalstatMModel() { STAFF_ID = item.STAFF_ID, STAFF_NAM = item.STAFF_NAM, STAT_MO = item.STAT_MO, COR_COMMON_CNT = item.COR_COMMON_CNT, COR_NON_EVAL_CNT = item.COR_NON_EVAL_CNT, COR_SATISFY_CNT = item.COR_SATISFY_CNT, COR_UNSATISFY_CNT = item.COR_UNSATISFY_CNT, COR_VERY_SATISFY_CNT = item.COR_VERY_SATISFY_CNT }; return(View(model)); } catch (Exception ex) { LogHelper.ErrorLog("查看出错", ex); return(RedirectToAction("Error", "Home")); } }
public ActionResult Details(int id, string staffId) { try { var model = STAT_STAFF_EVALSTAT_M_DAL.GetSub(id, staffId); return(View(model)); } catch (Exception ex) { LogHelper.ErrorLog("查看出错", ex); return(RedirectToAction("Error", "Home")); } }