增加根据线索id查询面试信息接口
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.cool.store.controller;
|
||||
|
||||
import com.cool.store.dto.partner.EnterInterviewDto;
|
||||
import com.cool.store.dto.partner.LineQueryInterviewDto;
|
||||
import com.cool.store.dto.partner.PartnerGetPassLetterDetailDto;
|
||||
import com.cool.store.dto.partner.PartnerQueryInterviewDto;
|
||||
import com.cool.store.exception.ApiException;
|
||||
@@ -30,12 +31,19 @@ public class InterviewController {
|
||||
@Autowired
|
||||
private InterviewService interviewBaseService;
|
||||
|
||||
@PostMapping("/queryByPartnerId")
|
||||
@ApiOperation("根据用户id查询面试信息")
|
||||
public ResponseResult<PartnerInterviewInfoVO> queryByPartnerId(@RequestBody PartnerQueryInterviewDto dto) {
|
||||
return ResponseResult.success(interviewService.queryByPartnerId(dto.getPartnerId()));
|
||||
// @PostMapping("/queryByPartnerId")
|
||||
// @ApiOperation("根据用户id查询面试信息")
|
||||
// public ResponseResult<PartnerInterviewInfoVO> queryByPartnerId(@RequestBody PartnerQueryInterviewDto dto) {
|
||||
// return ResponseResult.success(interviewService.queryByPartnerId(dto.getPartnerId()));
|
||||
// }
|
||||
|
||||
@PostMapping("/queryByPartnerLineId")
|
||||
@ApiOperation("根据线索id查询面试信息")
|
||||
public ResponseResult<PartnerInterviewInfoVO> queryByPartnerLineId(@RequestBody LineQueryInterviewDto dto) throws ApiException {
|
||||
return ResponseResult.success(interviewService.queryByPartnerLineId(dto));
|
||||
}
|
||||
|
||||
|
||||
@PostMapping("/enter")
|
||||
@ApiOperation("进入面试间")
|
||||
public ResponseResult<EnterInterviewVO> enterInterviewRoom(@RequestBody EnterInterviewDto dto) throws ApiException {
|
||||
|
||||
Reference in New Issue
Block a user