示例#1
0
        /// <summary>
        /// 额度核销撤销
        /// </summary>
        /// <returns></returns>
        public string SaveHXreturn()
        {
            long         id          = Convert.ToInt64(System.Web.HttpContext.Current.Request.Params["id"]);
            Decimal      FPlayamount = Convert.ToDecimal(System.Web.HttpContext.Current.Request.Params["FPlayamount"]);
            CommonResult savedresult = new CommonResult();

            savedresult = ExpenseMstService.SaveHXreturn(id, FPlayamount);
            return(DataConverterHelper.SerializeObject(savedresult));
        }
示例#2
0
 public string SaveHXreturn([FromBody] ExpenseAllRequestModel ExpenseAllData)
 {
     if (ExpenseAllData.ExpenseMst == null || ExpenseAllData.ExpenseMst.PhId == 0)
     {
         return(DCHelper.ErrorMessage("参数传递有误!"));
     }
     try
     {
         CommonResult savedresult = new CommonResult();
         savedresult = ExpenseMstService.SaveHXreturn(ExpenseAllData.ExpenseMst.PhId, ExpenseAllData.ExpenseMst.FPlayamount);
         return(DataConverterHelper.SerializeObject(savedresult));
     }
     catch (Exception ex)
     {
         return(DCHelper.ErrorMessage(ex.Message));
     }
 }