上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: 1、删除标签 $("#div1").remove(); 2、添加/移除标签属性 $("#id").removeAttr("id");$("img").attr("width","180"); 3、添加样式 $("#id").css("display","inline"); 4、页面加载完成后执行方法 阅读全文
posted @ 2020-12-30 14:47 懂得归零 阅读(673) 评论(1) 推荐(0)
摘要: 1**:信息,服务器收到请求,需要请求者继续执行操作 2**:成功 3**:重定向,需要进一步操作完成请求 4**:客户端错误,请求包含语法错误或无法完成请求 5**:服务器错误,服务器在处理请求的过程中发生错误 参考网址:https://www.runoob.com/http/http-statu 阅读全文
posted @ 2020-12-16 14:14 懂得归零 阅读(81) 评论(0) 推荐(0)
摘要: 1、在项目resources目录下添加application.yml配置信息 2、导入相关依赖(添加springboot启动依赖即可) 3、日志相关配置信息 logging: pattern: #日志输出格式 console: "%d{yyyy-MM-dd HH:mm:ss.SSS} %5p %-4 阅读全文
posted @ 2020-12-16 13:58 懂得归零 阅读(793) 评论(0) 推荐(0)
摘要: String[] str = {"12312312", "24123124", "fsdgsws"};String s = Arrays.toString(str);(1)String[] split = s.replace("[", "").replace("]", "").split(","); 阅读全文
posted @ 2020-12-14 11:27 懂得归零 阅读(2747) 评论(0) 推荐(0)
摘要: package com.tt.rhms.sys.controller;import org.apache.poi.hssf.usermodel.HSSFRow;import org.apache.poi.hssf.usermodel.HSSFSheet;import org.apache.poi.h 阅读全文
posted @ 2020-12-08 15:59 懂得归零 阅读(503) 评论(0) 推荐(0)
摘要: package com.tt.rhms.sys.controller;import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.annotation.RestContro 阅读全文
posted @ 2020-12-08 13:50 懂得归零 阅读(441) 评论(0) 推荐(0)
摘要: 1、cookie有大小限制,大小一般是4k,超过这个限制,cookie中无法存储该数据 解决办法: 1、key用短字符 2、如果value对应的是集合对象,我们可以增加cookie的数量解决大小限制问题(自己遇到的问题:后台查询结果集为7个用户所属系统应用对象,存储到cookie中时,只能存储5个) 阅读全文
posted @ 2020-11-17 13:47 懂得归零 阅读(4584) 评论(0) 推荐(1)
摘要: int[] scores = {1, 23, 3, 40, 20};Arrays.sort(scores);//对数组进行排序int i = Arrays.binarySearch(scores, 4);if (i >= 0) System.out.println("数据在数组中存在");else 阅读全文
posted @ 2020-11-13 14:26 懂得归零 阅读(178) 评论(0) 推荐(0)
摘要: /** * 编码 + 时间 + 自增数值 如果是当天编码,则自增,如果是新的一天,数值重新从00001开始自增 * @param prefix 前缀 * @param code 编码 */public static String test(String prefix, String code) { 阅读全文
posted @ 2020-11-10 08:38 懂得归零 阅读(296) 评论(0) 推荐(0)
摘要: 对基本数据类型的过滤 List<Integer> list=new ArrayList<>(); list.add(2);list.add(4);list.add(20);list.add(2130);list.add(38);//过滤包含2的数据list=list.stream().filter( 阅读全文
posted @ 2020-11-06 16:05 懂得归零 阅读(13205) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 下一页