面谈/面试

This commit is contained in:
zhangchenbiao
2024-03-19 14:50:56 +08:00
parent e5cbf96280
commit db47ccb51c
18 changed files with 894 additions and 49 deletions

View File

@@ -1,5 +1,6 @@
package com.cool.store.controller.webc;
import com.cool.store.request.AppointmentTimeRequest;
import com.cool.store.response.ResponseResult;
import com.cool.store.service.LineInterviewService;
import com.cool.store.vo.interview.AppointmentTimeVO;
@@ -9,10 +10,8 @@ import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.time.LocalDate;
@@ -47,4 +46,10 @@ public class LineInterviewController {
return ResponseResult.success(lineInterviewService.getAppointmentTime(lineId, interviewType, appointmentDate));
}
@ApiOperation("预约时间")
@PostMapping("/appointment/time")
public ResponseResult<Boolean> appointmentTime(@RequestBody @Validated AppointmentTimeRequest request) {
return ResponseResult.success(lineInterviewService.appointmentTime(request));
}
}