添加基础过滤查询接口

This commit is contained in:
zk
2026-07-30 18:43:04 +08:00
parent c115f8b655
commit f4c60efdf2
9 changed files with 236 additions and 0 deletions
@@ -1,8 +1,11 @@
package org.jiayunet.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.jiayunet.pojo.po.RecruitAnnouncementBatch;
import java.util.List;
/**
* 招聘公告-批次关联Mapper
*
@@ -10,4 +13,10 @@ import org.jiayunet.pojo.po.RecruitAnnouncementBatch;
*/
@Mapper
public interface RecruitAnnouncementBatchMapper extends CommonMapper<RecruitAnnouncementBatch> {
/**
* 查询去重后的批次名称列表
*/
@Select("SELECT batch_name FROM bg_recruit_announcement_batch GROUP BY batch_name")
List<String> selectBatchNameGroup();
}
@@ -1,8 +1,11 @@
package org.jiayunet.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.jiayunet.pojo.po.RecruitAnnouncementCategory;
import java.util.List;
/**
* 招聘公告-岗位大类关联Mapper
*
@@ -10,4 +13,10 @@ import org.jiayunet.pojo.po.RecruitAnnouncementCategory;
*/
@Mapper
public interface RecruitAnnouncementCategoryMapper extends CommonMapper<RecruitAnnouncementCategory> {
/**
* 查询去重后的岗位大类名称列表
*/
@Select("SELECT category_name FROM bg_recruit_announcement_category GROUP BY category_name")
List<String> selectCategoryNameGroup();
}
@@ -1,8 +1,11 @@
package org.jiayunet.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.jiayunet.pojo.po.RecruitAnnouncementCity;
import java.util.List;
/**
* 招聘公告-热招城市关联Mapper
*
@@ -10,4 +13,10 @@ import org.jiayunet.pojo.po.RecruitAnnouncementCity;
*/
@Mapper
public interface RecruitAnnouncementCityMapper extends CommonMapper<RecruitAnnouncementCity> {
/**
* 查询去重后的热招城市名称列表
*/
@Select("SELECT city_name FROM bg_recruit_announcement_city GROUP BY city_name")
List<String> selectCityNameGroup();
}
@@ -1,8 +1,11 @@
package org.jiayunet.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.jiayunet.pojo.po.RecruitAnnouncementEducation;
import java.util.List;
/**
* 招聘公告-学历要求关联Mapper
*
@@ -10,4 +13,10 @@ import org.jiayunet.pojo.po.RecruitAnnouncementEducation;
*/
@Mapper
public interface RecruitAnnouncementEducationMapper extends CommonMapper<RecruitAnnouncementEducation> {
/**
* 查询去重后的学历要求名称列表
*/
@Select("SELECT education_name FROM bg_recruit_announcement_education GROUP BY education_name")
List<String> selectEducationNameGroup();
}
@@ -1,8 +1,11 @@
package org.jiayunet.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.jiayunet.pojo.po.RecruitAnnouncementIndustry;
import java.util.List;
/**
* 招聘公告-行业关联Mapper
*
@@ -10,4 +13,10 @@ import org.jiayunet.pojo.po.RecruitAnnouncementIndustry;
*/
@Mapper
public interface RecruitAnnouncementIndustryMapper extends CommonMapper<RecruitAnnouncementIndustry> {
/**
* 查询去重后的行业名称列表
*/
@Select("SELECT industry_name FROM bg_recruit_announcement_industry GROUP BY industry_name")
List<String> selectIndustryNameGroup();
}
@@ -1,8 +1,11 @@
package org.jiayunet.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.jiayunet.pojo.po.RecruitAnnouncementTag;
import java.util.List;
/**
* 招聘公告-标签组关联Mapper
*
@@ -10,4 +13,10 @@ import org.jiayunet.pojo.po.RecruitAnnouncementTag;
*/
@Mapper
public interface RecruitAnnouncementTagMapper extends CommonMapper<RecruitAnnouncementTag> {
/**
* 查询去重后的标签名称列表
*/
@Select("SELECT tag_name FROM bg_recruit_announcement_tag GROUP BY tag_name")
List<String> selectTagNameGroup();
}
@@ -1,8 +1,11 @@
package org.jiayunet.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.jiayunet.pojo.po.RecruitAnnouncementYear;
import java.util.List;
/**
* 招聘公告-招聘届数关联Mapper
*
@@ -10,4 +13,10 @@ import org.jiayunet.pojo.po.RecruitAnnouncementYear;
*/
@Mapper
public interface RecruitAnnouncementYearMapper extends CommonMapper<RecruitAnnouncementYear> {
/**
* 查询去重后的招聘届数列表
*/
@Select("SELECT recruit_year FROM bg_recruit_announcement_year GROUP BY recruit_year")
List<Integer> selectRecruitYearGroup();
}