1.添加请求参数
2.重构list方法,新建一个QuestionQueryDTO用来存放search、page、size
3.重构list
4.添加接口selectBySearch
5.接口方法的实现
6.thymeleaf th:href 多参数传递格式
<a th:href="@{/(page=${pages},search=${search})}" aria-label="Previous">
1.添加请求参数
2.重构list方法,新建一个QuestionQueryDTO用来存放search、page、size
3.重构list
4.添加接口selectBySearch
5.接口方法的实现
6.thymeleaf th:href 多参数传递格式
<a th:href="@{/(page=${pages},search=${search})}" aria-label="Previous">