查询有招聘会的日期列表
This commit is contained in:
@@ -82,12 +82,12 @@ public class PublicJobFairController extends BaseController {
|
||||
}
|
||||
|
||||
/**
|
||||
* 按年份查询每日招聘会数量
|
||||
* 查询有招聘会的日期列表
|
||||
*/
|
||||
@BussinessLog(title = "按年份查询每日招聘会数量")
|
||||
@ApiOperation("按年份查询每日招聘会数量")
|
||||
@GetMapping("/dailyCount/{year}")
|
||||
public AjaxResult dailyCountByYear(@ApiParam("年份") @PathVariable Integer year) {
|
||||
return success(publicJobFairService.getDailyCountByYear(year));
|
||||
@BussinessLog(title = "查询有招聘会的日期列表")
|
||||
@ApiOperation("查询有招聘会的日期列表")
|
||||
@GetMapping("/dates")
|
||||
public AjaxResult getJobFairDates() {
|
||||
return success(publicJobFairService.getJobFairDates());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,9 +48,9 @@ public interface PublicJobFairMapper extends BaseMapper<PublicJobFair> {
|
||||
List<PublicJobFair> getCurrentMonthFairs();
|
||||
|
||||
/**
|
||||
* 按年份查询每日招聘会数量
|
||||
* 查询有招聘会的日期列表
|
||||
*/
|
||||
List<JobFairDailyCountVO> getDailyCountByYear(@Param("year") Integer year);
|
||||
List<String> getJobFairDates();
|
||||
|
||||
// ========== CMS后台管理接口 ==========
|
||||
|
||||
|
||||
@@ -35,9 +35,9 @@ public interface IPublicJobFairService {
|
||||
List<PublicJobFair> getCurrentMonthFairs();
|
||||
|
||||
/**
|
||||
* 按年份查询每日招聘会数量
|
||||
* 查询有招聘会的日期列表
|
||||
*/
|
||||
List<JobFairDailyCountVO> getDailyCountByYear(Integer year);
|
||||
List<String> getJobFairDates();
|
||||
|
||||
// ========== CMS后台管理接口 ==========
|
||||
|
||||
|
||||
@@ -114,8 +114,8 @@ public class PublicJobFairServiceImpl implements IPublicJobFairService {
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<JobFairDailyCountVO> getDailyCountByYear(Integer year) {
|
||||
return publicJobFairMapper.getDailyCountByYear(year);
|
||||
public List<String> getJobFairDates() {
|
||||
return publicJobFairMapper.getJobFairDates();
|
||||
}
|
||||
|
||||
// ========== CMS后台管理接口实现 ==========
|
||||
|
||||
Reference in New Issue
Block a user