|  | @@ -0,0 +1,26 @@
 | 
	
		
			
				|  |  | +package com.ym.mec.web.controller;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.dal.page.QuestionnaireQuestionQueryInfo;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.service.QuestionnaireQuestionService;
 | 
	
		
			
				|  |  | +import com.ym.mec.common.controller.BaseController;
 | 
	
		
			
				|  |  | +import io.swagger.annotations.Api;
 | 
	
		
			
				|  |  | +import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  | +import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  | +import org.springframework.security.access.prepost.PreAuthorize;
 | 
	
		
			
				|  |  | +import org.springframework.web.bind.annotation.*;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +@RequestMapping("questionnaireTopic")
 | 
	
		
			
				|  |  | +@Api(tags = "问题")
 | 
	
		
			
				|  |  | +@RestController
 | 
	
		
			
				|  |  | +public class QuestionnaireQuestionController extends BaseController {
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    @Autowired
 | 
	
		
			
				|  |  | +    private QuestionnaireQuestionService questionnaireQuestionService;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    @ApiOperation(value = "分页查询")
 | 
	
		
			
				|  |  | +    @GetMapping("/queryPage")
 | 
	
		
			
				|  |  | +    @PreAuthorize("@pcs.hasPermissions('questionnaireQuestion/queryPage')")
 | 
	
		
			
				|  |  | +    public Object queryPage(Integer topicId) {
 | 
	
		
			
				|  |  | +        return succeed(questionnaireQuestionService.findByTopicId(topicId));
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +}
 |