修改:招工列表、申请报名
This commit is contained in:
@ -117,15 +117,7 @@ public class WgzAppController {
|
||||
// //@PreAuthorize("@ss.hasPermi('wgzApp:user:userJobListing')")
|
||||
@GetMapping("/WgzUserJobListing")
|
||||
public TableDataInfo<WgzAppJobListingRes> userJobListing(@Validated WgzAppJobListingReq req) {
|
||||
TableDataInfo<WgzAppJobListingRes> wgzAppJobListingRes = new TableDataInfo<>();
|
||||
//1、请求转换
|
||||
BgtProjectRecruitQueryDTO dto = new BgtProjectRecruitQueryDTO();
|
||||
BeanUtils.copyProperties(req,dto);
|
||||
//2、查询招工列表信息
|
||||
TableDataInfo<BgtProjectRecruitVO> info = iBgtProjectRecruitService.appQueryPageList(dto);
|
||||
//3、将招工信息转换
|
||||
BeanUtils.copyProperties(info,wgzAppJobListingRes);
|
||||
return wgzAppJobListingRes;
|
||||
return iBgtProjectRecruitService.userJobListing(req);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -238,6 +230,17 @@ public class WgzAppController {
|
||||
return AjaxResult.success(wfzUserDailyCalendarRes);
|
||||
}
|
||||
|
||||
/**
|
||||
* 【日报】日报打卡
|
||||
*/
|
||||
@ApiOperation("【日报】日报打卡")
|
||||
//@PreAuthorize("@ss.hasPermi('wgzApp:user:userDailyClock')")
|
||||
@GetMapping("/WgzUserDailyClock")
|
||||
public AjaxResult<Boolean> userDailyClock(@Validated WgzAppDailyClockReq req) {
|
||||
return AjaxResult.success(iWgzDailyClockService.userDailyClock(req));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 【日报】日报日历·日报记录
|
||||
*/
|
||||
@ -329,9 +332,9 @@ public class WgzAppController {
|
||||
}
|
||||
|
||||
/**
|
||||
* 【首页】【项目详情】 项目详情·申请报名(还未校验工种是否匹配工地岗位)
|
||||
* 【首页】【招工列表】【项目详情】 项目详情·申请报名(还未校验工种是否匹配工地岗位)
|
||||
*/
|
||||
@ApiOperation("【首页】【项目详情】 项目详情·申请报名)")
|
||||
@ApiOperation("【首页】【招工列表】【项目详情】 项目详情·申请报名)")
|
||||
//@PreAuthorize("@ss.hasPermi('wgzApp:user:userApplyForRegistration')")
|
||||
@GetMapping("/WgzAppUserApplyForRegistration/{id}")
|
||||
public AjaxResult<Boolean> userApplyForRegistration(@NotNull(message = "主键不能为空") @PathVariable("id") Long id) {
|
||||
|
Reference in New Issue
Block a user