Beispiel #1
0
        public ActionResult EditForPLU(TND_MAP_PLU mapplu)
        {
            logger.Info("update map plu:plu_id=" + mapplu.PLU_ID + "," + mapplu.EXCEL_ITEM);
            string message = "";
            TnderProjectService service = new TnderProjectService();

            service.updateMapPLU(mapplu);
            message        = "給排水圖算資料修改成功,ID :" + mapplu.PLU_ID;
            ViewBag.result = message;
            return(View(mapplu));
        }
Beispiel #2
0
        //編輯給排水圖算數量
        #region 給排水
        public ActionResult EditForPLU(string id)
        {
            logger.Info("get mapplu for update:plu_id=" + id);
            TND_MAP_PLU plu = null;

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