/// <summary> /// 查询职位数量 /// </summary> /// <param name="positionSearcher">职位查询对象</param> /// <param name="tran">中间事务对象</param> /// <returns>返回查询到的数量</returns> public static long CountPosition(PositionSearcher positionSearcher, ICTransaction tran) { long count = PositionDal.Count(positionSearcher, tran); return(count); }
/// <summary> /// 查询职位数量 /// </summary> /// <param name="positionSearcher">职位查询对象</param> /// <returns>返回查询到的数量</returns> public static long CountPosition(PositionSearcher positionSearcher) { long count = PositionDal.Count(positionSearcher); return(count); }