当前季度和当月招聘会详情
This commit is contained in:
@@ -97,4 +97,30 @@ public class AppFairController extends BaseController
|
||||
{
|
||||
return toAjax(jobFairSignUpService.cancelSignUp(fairId));
|
||||
}
|
||||
|
||||
/**
|
||||
* 查看当季度招聘会信息
|
||||
*/
|
||||
@BussinessLog(title = "查看当季度招聘会信息")
|
||||
@ApiOperation("查看当季度招聘会信息")
|
||||
@GetMapping("/currentQuarter")
|
||||
public TableDataInfo currentQuarterFairs(JobFair jobFair)
|
||||
{
|
||||
startPage();
|
||||
List<JobFair> results = jobFairService.getCurrentQuarterFairs(jobFair);
|
||||
return getDataTable(results);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查看当月招聘会信息
|
||||
*/
|
||||
@BussinessLog(title = "查看当月招聘会信息")
|
||||
@ApiOperation("查看当月招聘会信息")
|
||||
@GetMapping("/currentMonth")
|
||||
public TableDataInfo currentMonthFairs(JobFair jobFair)
|
||||
{
|
||||
startPage();
|
||||
List<JobFair> results = jobFairService.getCurrentMonthFairs(jobFair);
|
||||
return getDataTable(results);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,4 +60,34 @@ public class PublicJobFairController extends BaseController {
|
||||
List<PublicJobFairCompanyVO> list = publicJobFairService.getEnterprisesWithJobs(jobFairId);
|
||||
return success(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查看当季度招聘会信息
|
||||
*/
|
||||
@BussinessLog(title = "查看当季度招聘会信息")
|
||||
@ApiOperation("查看当季度招聘会信息")
|
||||
@GetMapping("/currentQuarter")
|
||||
public AjaxResult currentQuarterFairs() {
|
||||
return success(publicJobFairService.getCurrentQuarterFairs());
|
||||
}
|
||||
|
||||
/**
|
||||
* 查看当月招聘会信息
|
||||
*/
|
||||
@BussinessLog(title = "查看当月招聘会信息")
|
||||
@ApiOperation("查看当月招聘会信息")
|
||||
@GetMapping("/currentMonth")
|
||||
public AjaxResult currentMonthFairs() {
|
||||
return success(publicJobFairService.getCurrentMonthFairs());
|
||||
}
|
||||
|
||||
/**
|
||||
* 按年份查询每日招聘会数量
|
||||
*/
|
||||
@BussinessLog(title = "按年份查询每日招聘会数量")
|
||||
@ApiOperation("按年份查询每日招聘会数量")
|
||||
@GetMapping("/dailyCount/{year}")
|
||||
public AjaxResult dailyCountByYear(@ApiParam("年份") @PathVariable Integer year) {
|
||||
return success(publicJobFairService.getDailyCountByYear(year));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user