/// <summary>
 /// 重复性验证
 /// </summary>
 /// <param name="iRoleID">角色ID</param>
 /// <returns></returns>
 public bool CheckSameRecord(string iRoleID)
 {
     bool bActual = false;
     ViewDeptRole vbDeptRole = new ViewDeptRole();
     vbDeptRole.BaseCondition = "b.FK_RoleID=" + iRoleID.ToString();
     if (vbDeptRole.Count > 0)
     {
         bActual = true;
     }
     return bActual;
 }
 /// <summary>
 /// 根据RoleID获得对象
 /// </summary>
 /// <param name="iRoleID">角色ID</param>
 /// <returns></returns>
 public static DeptRole GetDeptRole(int iRoleID)
 {
     DeptRole deptRole = null;
     ViewBase vbDeptRole = new ViewDeptRole();
     vbDeptRole.BaseCondition = "b.ID=" + iRoleID.ToString();
     if (vbDeptRole.Count > 0)
     {
         deptRole = vbDeptRole.GetItem(0) as DeptRole;
     }
     return deptRole;
 }