public void RetriveData()
 {
     //查找所有部门
     UTOrgDepartmentList = bizUTOrgDepartment.List(x => x.ID, EnumOrder.ASC);
     if (organizationId != null)
     {
         uTOrgDepartmentEntity = bizUTOrgDepartment.GetFirst(x => x.ID == organizationId);
     }
 }
        /// <summary>
        /// 保存或新增部门
        /// </summary>
        /// <param name="departmentEntity"></param>
        public void Save(UTOrgDepartment departmentEntity)
        {
            //新增
            if (departmentEntity.ID == Guid.Empty)
            {
                departmentEntity.InputDate = DateTime.Now;
                departmentEntity.InputUser = SessionManager.CurrentSysUser.ID;

                bizUTOrgDepartment.SaveOrUpdate(departmentEntity);
            }//修改
            else
            {
                UTOrgDepartment uTOrgDepartment = bizUTOrgDepartment.GetFirst(x => x.ID == departmentEntity.ID);
                uTOrgDepartment.DepartmentName = departmentEntity.DepartmentName;
                uTOrgDepartment.DutyUser = departmentEntity.DutyUser;
                uTOrgDepartment.Mobile = departmentEntity.Mobile;
                uTOrgDepartment.Email = departmentEntity.Email;
                uTOrgDepartment.Remark = departmentEntity.Remark;

                uTOrgDepartment.UpdateDate = DateTime.Now;
                uTOrgDepartment.UpdateUser = SessionManager.CurrentSysUser.ID;
                bizUTOrgDepartment.SaveOrUpdate(uTOrgDepartment);
            }
        }