考试修改

This commit is contained in:
pengjie 2024-06-04 18:37:45 +08:00
parent 0b8028039d
commit 64608c6a9b

View File

@ -72,7 +72,7 @@ public class ExamTrainController {
@PostMapping(value = "/page")
public Result<IPage<ExamTrain>> queryPageList(@ApiIgnore @RequestBody Map<String, Object> map) {
QueryWrapper<ExamTrain> queryWrapper = QueryGenerator.initPageQueryWrapper(ExamTrain.class, map);
queryWrapper.orderByDesc("et.create_time");
queryWrapper.orderByDesc("create_time");
Page<ExamTrain> page = PageUtil.getPage(map);
IPage<ExamTrain> pageList = examTrainService.pageList(page, queryWrapper);
return Result.success(pageList);