|  | @@ -4,6 +4,8 @@ import java.util.List;
 | 
											
												
													
														|  |  import javax.servlet.http.HttpServletResponse;
 |  |  import javax.servlet.http.HttpServletResponse;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  import com.ruoyi.sim.service.impl.RealExamCollectionService;
 |  |  import com.ruoyi.sim.service.impl.RealExamCollectionService;
 | 
											
												
													
														|  | 
 |  | +import io.swagger.annotations.Api;
 | 
											
												
													
														|  | 
 |  | +import io.swagger.annotations.ApiOperation;
 | 
											
												
													
														|  |  import org.springframework.security.access.prepost.PreAuthorize;
 |  |  import org.springframework.security.access.prepost.PreAuthorize;
 | 
											
												
													
														|  |  import org.springframework.beans.factory.annotation.Autowired;
 |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
											
												
													
														|  |  import org.springframework.web.bind.annotation.GetMapping;
 |  |  import org.springframework.web.bind.annotation.GetMapping;
 | 
											
										
											
												
													
														|  | @@ -26,19 +28,18 @@ import com.ruoyi.common.core.page.TableDataInfo;
 | 
											
												
													
														|  |   * 考试集合Controller
 |  |   * 考试集合Controller
 | 
											
												
													
														|  |   *
 |  |   *
 | 
											
												
													
														|  |   * @author tom
 |  |   * @author tom
 | 
											
												
													
														|  | - * @date 2024-12-13
 |  | 
 | 
											
												
													
														|  | 
 |  | + * @date 2024-12-17
 | 
											
												
													
														|  |   */
 |  |   */
 | 
											
												
													
														|  |  @RestController
 |  |  @RestController
 | 
											
												
													
														|  |  @RequestMapping("/sim/real-exam-collection")
 |  |  @RequestMapping("/sim/real-exam-collection")
 | 
											
												
													
														|  | 
 |  | +@Api("考试集合Controller")
 | 
											
												
													
														|  |  public class RealExamCollectionController extends BaseController {
 |  |  public class RealExamCollectionController extends BaseController {
 | 
											
												
													
														|  |      @Autowired
 |  |      @Autowired
 | 
											
												
													
														|  |      private RealExamCollectionService realExamCollectionService;
 |  |      private RealExamCollectionService realExamCollectionService;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    /**
 |  | 
 | 
											
												
													
														|  | -     * 查询考试集合列表
 |  | 
 | 
											
												
													
														|  | -     */
 |  | 
 | 
											
												
													
														|  | -    @PreAuthorize("@ss.hasPermi('sim:real-exam-collection:list')")
 |  | 
 | 
											
												
													
														|  | 
 |  | +    // @PreAuthorize("@ss.hasPermi('sim:real-exam-collection:list')")
 | 
											
												
													
														|  |      @GetMapping("/list")
 |  |      @GetMapping("/list")
 | 
											
												
													
														|  | 
 |  | +    @ApiOperation("查询考试集合列表")
 | 
											
												
													
														|  |      public TableDataInfo list(RealExamCollection realExamCollection) {
 |  |      public TableDataInfo list(RealExamCollection realExamCollection) {
 | 
											
												
													
														|  |          startPage();
 |  |          startPage();
 | 
											
												
													
														|  |          List<RealExamCollection> list = realExamCollectionService.selectRealExamCollectionList(realExamCollection);
 |  |          List<RealExamCollection> list = realExamCollectionService.selectRealExamCollectionList(realExamCollection);
 | 
											
										
											
												
													
														|  | @@ -60,8 +61,9 @@ public class RealExamCollectionController extends BaseController {
 | 
											
												
													
														|  |      /**
 |  |      /**
 | 
											
												
													
														|  |       * 获取考试集合详细信息
 |  |       * 获取考试集合详细信息
 | 
											
												
													
														|  |       */
 |  |       */
 | 
											
												
													
														|  | -    @PreAuthorize("@ss.hasPermi('sim:real-exam-collection:query')")
 |  | 
 | 
											
												
													
														|  | 
 |  | +    // @PreAuthorize("@ss.hasPermi('sim:real-exam-collection:query')")
 | 
											
												
													
														|  |      @GetMapping(value = "/{examCollectionId}")
 |  |      @GetMapping(value = "/{examCollectionId}")
 | 
											
												
													
														|  | 
 |  | +    @ApiOperation("获取考试集合详细信息")
 | 
											
												
													
														|  |      public AjaxResult getInfo(@PathVariable("examCollectionId") Long examCollectionId) {
 |  |      public AjaxResult getInfo(@PathVariable("examCollectionId") Long examCollectionId) {
 | 
											
												
													
														|  |          return success(realExamCollectionService.selectRealExamCollectionByExamCollectionId(examCollectionId));
 |  |          return success(realExamCollectionService.selectRealExamCollectionByExamCollectionId(examCollectionId));
 | 
											
												
													
														|  |      }
 |  |      }
 |