public JsonResult JzCx(long consumeId, bool isCxZt, string reason) { var apiResult = new APIResult(); var user = UserContext.CurrentUser; try { //撤销结账 PosConsumeBll.JzCx(consumeId, isCxZt, reason, user.HotelId, user.Id, user.Name); } catch (Exception ex) { apiResult.Ret = -1; apiResult.Msg = ex.Message; if (!(ex is OperationExceptionFacade)) { LogFactory.GetLogger().Log(LogLevel.Error, ex); } } return(Json(apiResult)); }