|
@@ -3,9 +3,10 @@ package com.zhongzheng.controller.exam;
|
|
|
import java.util.List;
|
|
|
import java.util.Arrays;
|
|
|
|
|
|
-import com.zhongzheng.modules.exam.bo.ExamBeforeUrlQueryBo;
|
|
|
+import com.zhongzheng.modules.exam.bo.*;
|
|
|
import com.zhongzheng.modules.exam.service.IExamBeforeUrlService;
|
|
|
import com.zhongzheng.modules.exam.vo.ExamBeforeUrlVo;
|
|
|
+import com.zhongzheng.modules.exam.vo.ExamNumberGoodsVo;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -22,9 +23,6 @@ import com.zhongzheng.common.core.controller.BaseController;
|
|
|
import com.zhongzheng.common.core.domain.AjaxResult;
|
|
|
import com.zhongzheng.common.enums.BusinessType;
|
|
|
import com.zhongzheng.modules.exam.vo.ExamBeforeVo;
|
|
|
-import com.zhongzheng.modules.exam.bo.ExamBeforeQueryBo;
|
|
|
-import com.zhongzheng.modules.exam.bo.ExamBeforeAddBo;
|
|
|
-import com.zhongzheng.modules.exam.bo.ExamBeforeEditBo;
|
|
|
import com.zhongzheng.modules.exam.service.IExamBeforeService;
|
|
|
import com.zhongzheng.common.utils.poi.ExcelUtil;
|
|
|
import com.zhongzheng.common.core.page.TableDataInfo;
|
|
@@ -96,12 +94,24 @@ public class ExamBeforeController extends BaseController {
|
|
|
*/
|
|
|
@ApiOperation("查询前培url列表")
|
|
|
@PreAuthorize("@ss.hasPermi('system:url:list')")
|
|
|
- @GetMapping("/list")
|
|
|
+ @GetMapping("/listUrl")
|
|
|
public TableDataInfo<ExamBeforeUrlVo> list(ExamBeforeUrlQueryBo bo) {
|
|
|
startPage();
|
|
|
List<ExamBeforeUrlVo> list = iExamBeforeUrlService.queryList(bo);
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 查询考试配置绑定商品列表
|
|
|
+ */
|
|
|
+ @ApiOperation("查询前培商品列表")
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:goods:list')")
|
|
|
+ @GetMapping("/listGoods")
|
|
|
+ public TableDataInfo<ExamNumberGoodsVo> listGoods(ExamNumberGoodsQueryBo bo) {
|
|
|
+ startPage();
|
|
|
+ List<ExamNumberGoodsVo> list = iExamBeforeService.listGoods(bo);
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|