- 博客(15)
- 资源 (1)
- 收藏
- 关注
转载 rest
https://blog.youkuaiyun.com/soul_code/article/details/54139709https://www.jianshu.com/p/3423fa97d185https://springcloud.cc/spring-data-rest-zhcn.html
2018-12-12 14:18:20
158
原创 读取json文件数据
ClassPathResource responseResource = new ClassPathResource(路径);//String responseJson = new String (Files.readAllBytes(responseResource.getFile().toPath()), //读取json文件的数据
2018-12-07 17:43:35
588
转载 mock基本入门介绍
https://blog.youkuaiyun.com/wwh578867817/article/details/51934404 https://blog.youkuaiyun.com/xiao_xuwen/article/details/52890730
2018-11-30 15:34:38
1704
转载 mysql忘记了密码怎么办
https://blog.youkuaiyun.com/u014227785/article/details/80178709
2018-11-23 17:03:35
182
转载 maven安装jar包 ,支付宝退款
https://blog.youkuaiyun.com/chl191623691/article/details/78081680
2018-11-12 14:59:01
154
转载 mybatis sql语句 查询当天 当月 时间的数据
https://www.cnblogs.com/softidea/p/6387649.html
2018-11-09 16:19:31
13063
转载 七牛云简单使用
https://blog.youkuaiyun.com/Tomwildboar/article/details/81666338?utm_source=blogxgwz0
2018-10-26 14:45:41
183
原创 StringUtils的两种方法
1 isNotEmpty(str)等价于 str != null && str.length > 02 isNotBlank(str) 等价于 str != null && str.length > 0 && str.trim().length > 0
2018-10-11 19:31:02
107
原创 快速打开CMD中的目录
1.在相应窗口栏 输入cmd 按end2.redis连接命令 在redis目录下 输入命令......>redis-cli.exe -h 127.0.0.1 -p 6379
2018-09-19 16:17:00
191
原创 BeanUtils和PropertyUtils用法
BeanUtils.copyProperties("转换后的类", "要转换的类"); 属性名要一样 数据类型不一样 可以自动转化PropertyUtils.copyProperties("转换后的类", "要转换的类");
2018-09-19 15:53:37
309
原创 mybatis查询返回类型值为int 得到null报错的解决方法
数据库用的mysqlselect IFNULL(max(p_usable_sku_num),0) as p_usable_sku_num from promotion_temp_stock where sku_code=#{id}</select>之前用ifnull(p_usable_sku_num,0) 还是报错后来改成上面的 运行成功...
2018-09-13 11:14:23
2887
原创 Timestamp的相关用法
Timestamp timestamp1 = new Timestamp((new Date()).getTime()); 获取当前时间,时间格式为2018-09-13 10:35:48.873timestamps类型,当前时间减一秒SimpleDateFormat d = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");Timestamp ...
2018-09-13 11:07:58
2259
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人