Esempio n. 1
0
        /// <summary>
        /// 批量添加角色功能关系
        /// </summary>
        /// <param name="sqlText">添加的值</param>
        /// <param name="count">添加的数量</param>
        /// <returns></returns>
        public Result InsertPer(string sqlText, int roleId, string remark)
        {
            int row = roleDao.InsertPer(sqlText, roleId, remark);

            if (row > 0)
            {
                return(Result.添加成功);
            }
            else
            {
                return(Result.添加失败);
            }
        }