上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 52 下一页
摘要: 第一列是checkbox列,不需要排序,所以需要禁用掉。代码如下:var table = $('#example1').DataTable( { 'paging' : true, 'lengthChange' : false, 'searching' : false, 'ordering' : tr 阅读全文
posted @ 2018-05-14 19:23 huiy_小溪 阅读(5498) 评论(0) 推荐(0)
摘要: 网上有很多介绍,主要有两种。1.在启动类中注入bean/** * 集成fastjson * * @return */ @Bean public HttpMessageConverters fastJsonHttpMessageConverters() { // 1. 需要定义一个converter转 阅读全文
posted @ 2018-05-14 13:14 huiy_小溪 阅读(9875) 评论(0) 推荐(0)
摘要: 如下图 : 阅读全文
posted @ 2018-05-12 09:50 huiy_小溪 阅读(458) 评论(0) 推荐(0)
摘要: 项目地址:https://github.com/pagehelper/pagehelper-spring-boot简单使用:1.在pom文件中添加<dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper- 阅读全文
posted @ 2018-05-11 23:32 huiy_小溪 阅读(2345) 评论(0) 推荐(0)
摘要: 转载自:https://www.2cto.com/database/201409/338155.html第一种方案 DAO层的函数方法 Public User selectUser(String name,String area);对应的Mapper.xml <select id="selectUs 阅读全文
posted @ 2018-05-10 14:05 huiy_小溪 阅读(1415) 评论(0) 推荐(0)
摘要: 需求是:递归查询资源1.资源类 EntityBaseResource:public final class EntityBaseResource { private Long resID = 0l; private String resName = ""; private String urlPat 阅读全文
posted @ 2018-05-10 14:01 huiy_小溪 阅读(7458) 评论(0) 推荐(0)
摘要: 在开发时经常需要调整JS,但是调整后由于页面缓存的原因,看不到实时效果。开发环境:springboot+thymeleaf1.配置文件多模式2.获得当前的激活的模式和随机数import org.springframework.beans.factory.annotation.Autowired; i 阅读全文
posted @ 2018-05-07 11:33 huiy_小溪 阅读(1189) 评论(0) 推荐(0)
摘要: 1.map在后端放入一个mapMap<String, String> mapDict = serviceBaseDict.selectMap(ConstantDictType.SYSINFO); model.addAttribute("mapDict", mapDict);在页面中访问这个map<b 阅读全文
posted @ 2018-05-07 10:37 huiy_小溪 阅读(4812) 评论(0) 推荐(0)
摘要: 1.th:href获得当前的根路径 th:href="@{/}"2.select输出并自动选中<select class="form-control select2" id="stage2CoachID" name="stage2CoachID" th:value="${class.stage2Co 阅读全文
posted @ 2018-05-07 09:44 huiy_小溪 阅读(368) 评论(0) 推荐(0)
摘要: 今天一个朋友拿给我一个U盘,说这个U盘是商家送的,他想格式化,但是U盘被写保护了,系统不能格式化。他想把这个U盘插到车子里听音乐,但是车载系统始终识别的是第一个分区,而这个分区正是被写保护那个,且这个分区中存储的是商家的广告宣传,这个U盘的第二个分区可以正常写入。一开始找了很多的软件去格式化或去除写 阅读全文
posted @ 2018-05-06 23:01 huiy_小溪 阅读(2967) 评论(0) 推荐(0)
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 52 下一页