public ActionResult BaseNationView(string seqNo, string Msg) { //권한 체크=================================================== if (!chk.chkPermission("BaseNation", "PER_SELECT")) { return(RedirectToAction("Index", "Home", new { msg = chk.alertStr })); } //=========================================================== BaseNationModels model = new BaseNationModels(); int pSeqNo = 0; if (int.TryParse(seqNo, out pSeqNo)) { model.act_key = pSeqNo; model.act_type = "updt"; } else { model.act_type = "ins"; model.Item.SEQNO = 0; } if (!String.IsNullOrEmpty(Msg)) { ViewBag.PublicPopupMsg = Msg; } //단일 데이타 정보 가져오기 model.Item = act.GetBaseNationView(pSeqNo); //SELECT BOX ARRAY 데이터 설정 model.nationArray = comModel.GetCommNationSelectBox(); model.weightArray = comModel.GetWeightSelectBox(); model.currencyArray = comModel.GetConfCurrencySelectBox(); return(View(model)); }
//EST 기본정보 ==================================================================================================== // GET: Est EST STATION Est 정보 관리 -> EST 기본정보 public ActionResult EstIframeInfo(string msg, string estCode, string NATION_CODE) { //권한 체크=================================================== if (!chk.chkPermission("EstInfo", "PER_SELECT")) { return(RedirectToAction("Index", "Home", new { msg = chk.alertStr })); } //=========================================================== TempData["PublicMsg"] = null; if (!string.IsNullOrEmpty(msg)) { TempData["PublicMsg"] = msg; } EstIframeInfoModels model = new EstIframeInfoModels(); model.viewEstCode = estCode; model.Item = act.GetEstIframeInfo(model, estCode); //Select Box 설정 model.nationArray = comF.GetCommNationSelectBox(); model.weightArray = comF.GetWeightSelectBox(); model.stationArray = act.GetEstCodeSelectBox(estCode); //라디오버튼 쓰기 if (model.RadioBoxPop == true) { model.Item.STATUS = 1; } else { model.Item.STATUS = 0; } model.RadioBoxPop = false; if (model.Item.STATUS == 1) { model.RadioBoxPop = true; } //라디오버튼 쓰기2 if (model.RadioBoxSummerT == true) { model.Item.STATUS = 1; } else { model.Item.STATUS = 0; } model.RadioBoxSummerT = false; if (model.Item.UTC_SUMMER_TIME == 1) { model.RadioBoxSummerT = true; } return(View(model)); }