package jnpf.tmsController; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.tags.Tag; import jnpf.annotation.HandleLog; import jnpf.base.ActionResult; import jnpf.base.vo.PageListVO; import jnpf.base.vo.PaginationVO; import jnpf.tmsEntity.exam.TmsOnlineExamDetailVO; import jnpf.tmsEntity.exam.TmsOnlineExamListVO; import jnpf.tmsEntity.exam.TmsOnlineExamPaperVO; import jnpf.tmsEntity.exam.TmsOnlineExamQuery; import jnpf.tmsEntity.exam.TmsOnlineExamStartForm; import jnpf.tmsEntity.exam.TmsOnlineExamSubmitForm; import jnpf.tmsEntity.exam.TmsOnlineExamSubmitResultVO; import jnpf.tmsService.TmsOnlineExamService; import jnpf.util.JsonUtil; import lombok.RequiredArgsConstructor; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.List; /** * 在线考试(学员端)。网关 {@code /api/tms/online-exam/**} → {@code /online-exam/**}。 * *
开考/交卷;交卷后回写 person_task,档案目录仍依赖培训记录归档。
*/ @Tag(name = "TMS在线考试", description = "OnlineExam") @RestController @RequestMapping("/online-exam") @RequiredArgsConstructor public class TmsOnlineExamController { private final TmsOnlineExamService onlineExamService; @Operation(summary = "我的试卷") @GetMapping("/my-papers") public ActionResult