Exemplo n.º 1
0
        public ActionResult EditForLCP(TND_MAP_LCP maplcp)
        {
            logger.Info("update map lcp:lcp_id=" + maplcp.LCP_ID + "," + maplcp.EXCEL_ITEM);
            string message = "";
            TnderProjectService service = new TnderProjectService();

            service.updateMapLCP(maplcp);
            message        = "弱電管線圖算資料修改成功,ID :" + maplcp.LCP_ID;
            ViewBag.result = message;
            return(View(maplcp));
        }
Exemplo n.º 2
0
        //編輯弱電管線圖算數量
        #region 弱電管線
        public ActionResult EditForLCP(string id)
        {
            logger.Info("get maplcp for update:lcp_id=" + id);
            TND_MAP_LCP lcp = null;

            if (null != id)
            {
                TnderProjectService service = new TnderProjectService();
                lcp = service.getLCPById(id);
            }
            return(View(lcp));
        }