/// <summary>
 /// 根据用户账号获取他所在部门信息绑定到DropDownList
 /// </summary>
 /// <param name="ddl">下拉菜单ID</param>
 /// <param name="strUserID">用户账号</param>
 /// <param name="iFloorCode">层级(0.自己所在部门;1.处级部门;2.科级部门;-1.所有部门)</param>
 /// <param name="bIsNeedBlank">是否需要空行</param>
 public static void GetDeptByUser(DropDownList ddl, string strUserID, int iFloorCode, bool bIsNeedBlank)
 {
     OADept.BindDropDownList(ddl, OADept.GetDeptByUser(strUserID, iFloorCode), bIsNeedBlank);
 }
 /// <summary>
 /// 根据部门的ID获取子部门
 /// </summary>
 /// <param name="ddl" >下拉菜单ID</param >
 /// <param name="strDeptID">部门的ID</param>
 /// <param name="iFloorCode" >层级(>0 子部门层数, -1所有)</param>
 /// <param name="bClear" >是否清除(true:清除,false :追加)</param>
 /// <param name="bBlank" >是否加空行(true:加空行 false:反之)</param>
 public static void GetChildDept(DropDownList ddl, string strDeptID, int iFloorCode, bool bClear, bool bBlank)
 {
     OADept.BindDropDownList(ddl, OADept.GetChildDept(strDeptID, iFloorCode), bClear, bBlank);
 }
 /// <summary>
 /// 获取指定层级的部门信息绑定到DropDownList
 /// </summary>
 /// <param name="ddl" >下拉菜单ID</param>
 /// <param name="iFloorCode">层级(1.处级部门;2.科级部门;-1.所有部门)</param>
 public static void GetDeptByIfloor(DropDownList ddl, int iFloorCode)
 {
     OADept.BindDropDownList(ddl, OADept.GetDeptByIfloor(iFloorCode));
 }
 /// <summary>
 /// 根据部门的ID获取子部门
 /// </summary>
 /// <param name="ddl" >下拉菜单ID</param >
 /// <param name="strDeptID">部门的ID</param>
 /// <param name="iFloorCode" >层级(>0 子部门层数, -1所有)</param>
 public static void GetChildDept(DropDownList ddl, string strDeptID, int iFloorCode)
 {
     OADept.BindDropDownList(ddl, OADept.GetChildDept(strDeptID, iFloorCode));
 }