示例#1
0
        public ActionResult GetView2Update(decimal pID, string pAppCode)
        {
            var sysApplication        = new SysApplicationBL();
            SysAppFixChargeInfo pInfo = sysApplication.SysAppFixChargeById(pID, pAppCode);

            return(PartialView("~/Areas/QuanLyPhi/Views/QLPhi/_PartialViewFeeFixUpdate.cshtml", pInfo));
        }
示例#2
0
 public decimal SysAppFixChargeUpdate(SysAppFixChargeInfo pInfo)
 {
     try
     {
         var _da     = new SysApplicationDA();
         var preturn = _da.SysAppFeeFixUpdate(pInfo.Id, pInfo.Appcode, pInfo.Amount, pInfo.Amount_Usd, pInfo.Amount_Represent, pInfo.Amount_Represent_Usd, pInfo.Char01, pInfo.Description, pInfo.Description_En);
         return(preturn);
     }
     catch (Exception ex)
     {
         Logger.LogException(ex);
         return(-3);
     }
 }
示例#3
0
 public ActionResult ExecuteUpdate(SysAppFixChargeInfo pInfo)
 {
     try
     {
         if (pInfo == null)
         {
             return(Json(new { success = -3 }));
         }
         var     sysApplication = new SysApplicationBL();
         decimal presonse       = sysApplication.SysAppFixChargeUpdate(pInfo);
         BussinessFacade.ModuleMemoryData.MemoryData.LoadSys_App_Fee_Fix();
         return(Json(new { success = presonse }));
     }
     catch (Exception ex)
     {
         Logger.LogException(ex);
         return(Json(new { success = -3 }));
     }
 }