Exemplo n.º 1
0
        /// <summary>
        /// 获取总数据的条数
        /// </summary>
        /// <param name="hotName">关键字</param>
        /// <param name="page">分页参数</param>
        /// <param name="sort">排序参数</param>
        /// <param name="money">工资筛选参数</param>
        /// <param name="num">需求筛选参数</param>
        /// <param name="type">类型筛选参数</param>
        /// <returns></returns>
        public int rowCount(string hotName, int page, int sort, int money, int num, int type)
        {
            string sql = getSearchSql(hotName, page, sort, money, num, type);

            return(PTandCompany.rowCount(sql));
        }
Exemplo n.º 2
0
 /// <summary>
 /// 获取公司信息和其发布的兼职信息
 /// </summary>
 /// <returns></returns>
 public List <PTandCompany> getHotName()
 {
     return(PTandCompany.getHotName());
 }
Exemplo n.º 3
0
        /// <summary>
        /// 获取查询筛选数据
        /// </summary>
        /// <param name="hotName">关键字</param>
        /// <param name="page">分页参数</param>
        /// <param name="sort">排序参数</param>
        /// <param name="money">工资筛选参数</param>
        /// <param name="num">需求筛选参数</param>
        /// <param name="type">类型筛选参数</param>
        /// <returns></returns>
        public List <PTandCompany> SearchData(string hotName, int page, int sort, int money, int num, int type)
        {
            string sql = getSearchSql(hotName, page, sort, money, num, type);

            return(PTandCompany.SearchData(sql, page));
        }
Exemplo n.º 4
0
 public List <PTandCompany> getPass(int userId)
 {
     return(PTandCompany.getPass(userId));
 }