public ActionResult EditForPEP(TND_MAP_PEP mappep) { logger.Info("update map pep:pep_id=" + mappep.PEP_ID + "," + mappep.EXCEL_ITEM); string message = ""; TnderProjectService service = new TnderProjectService(); service.updateMapPEP(mappep); message = "電氣管線圖算資料修改成功,ID :" + mappep.PEP_ID; ViewBag.result = message; return(View(mappep)); }
//編輯電氣管線圖算數量 #region 電氣管線 public ActionResult EditForPEP(string id) { logger.Info("get mappep for update:pep_id=" + id); TND_MAP_PEP pep = null; if (null != id) { TnderProjectService service = new TnderProjectService(); pep = service.getPEPById(id); } return(View(pep)); }