xiangpei
2024-03-08 c50e176c4a6b9331d2d1c0520bafb18f54f0dee6
src/main/java/com/mindskip/xzs/controller/admin/ExamTemplatesController.java
@@ -12,6 +12,7 @@
import com.mindskip.xzs.service.ExamTemplatesService;
import com.mindskip.xzs.utility.PageInfoHelper;
import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperEditRequestVM;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import javax.validation.Valid;
@@ -37,7 +38,7 @@
    @RequestMapping(value = "/list", method = RequestMethod.GET)
    public RestResponse<PageInfo<ExamTemplatesVO>> list(ExamTemplatesVO examTemplatesVO) throws Exception {
        PageInfo<ExamTemplates> pageInfo = examTemplatesService.gets(examTemplatesVO);
        PageInfo<ExamTemplates> pageInfo = examTemplatesService.getByadmins(examTemplatesVO);
        PageInfo<ExamTemplatesVO> info = PageInfoHelper.copyMap(pageInfo, e -> {
            ExamTemplatesVO vo = new ExamTemplatesVO();
            vo.setName(e.getName());