/// <summary>
        /// 删除角色
        /// </summary>
        /// <param name="id">角色ID</param>
        /// <returns>是否成功的JSON结果</returns>
        public bool DeleteRole(string id)
        {
            try
            {
                OracleParameter[] parameters =
                {
                    new OracleParameter("p_roleCode", id)
                };

                var dbapi = new DbAPI();
                dbapi.OpenConn("");
                var rst = dbapi.ExecuteNonQueryByProcedure("DeleteRole", parameters);
                dbapi.CloseConn();

                return(rst > 0);
            }
            catch (Exception ex)
            {
                LogBN.WriteLog(typeof(MonitorLog), "删除部门AddDepartment 程序段的异常" + ex);
                return(false);
            }
        }