- 博客(11)
- 收藏
- 关注
原创 * 解决netty冲突后初始化client时还会抛出异常
System.setProperty(“es.set.netty.runtime.available.processors”, “false”);
2020-04-08 14:08:34
335
原创 th:each="user,userStat:${users}
//use为创建r对象,userStat是状态<tr th:each="user,userStat:${users}"> <td> 下标:<span th:text="${userStat.index}"></span>, </td> <td th:text="${user.id}">...
2020-03-24 10:25:59
1986
原创 条件构造器Criteria
public Example createExample(Brand brand) { //动态构建条件Example,criteria:动态组装条件 Example example = new Example(Brand.class); Example.Criteria criteria = example.createCriteria(); //组装条件 ...
2020-03-19 10:46:19
710
1
原创 配置前后台防蚊液路径
package com.gem.config;@Configurationpublic class WebMvcConfig implements WebMvcConfigurer {//默认的访问页面 /user/index@Overridepublic void addViewControllers(ViewControllerRegistry registry) { reg...
2020-03-15 16:39:26
154
原创 ModelAttribute作用
controller中//film定义成一个方法@ModelAttribute("film")public Film get(Integer id) { if (id != null){ return filmService.getById(id); }else{ return new Film(); }@RequestMappin...
2020-03-15 11:40:30
239
原创 管道符||
<button class="layui-btn layui-btn-sm layui-btn-danger" th:if="${sysuser.status} == '1'" th:onclick="|changeStatus(${sysuser....
2020-03-14 16:31:47
299
原创 在工具类中调用service
@Componentpublic class DictUtils {//需要在工具类中调用service,查询表中记录@Autowiredprivate ISysDictService service;private static ISysDictService sysDictService;@PostConstruct //完成对service的注入public void init...
2020-03-13 16:09:32
1179
转载 nginx
安装nginx:http://www.xuejiehome.com/blread-1550.html
2020-02-16 13:10:49
125
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人