/// <summary>
 /// 检查部门信息是否存在
 /// </summary>
 /// <param name="predicate">检查谓语表达式</param>
 /// <param name="id">更新的部门信息编号</param>
 /// <returns>部门信息是否存在</returns>
 public bool CheckDepartmentExists(Expression <Func <Department, bool> > predicate, int id = 0)
 {
     return(DepartmentRepository.CheckExists(predicate, id));
 }