- 博客(6)
- 收藏
- 关注
原创 springMVC读取本地图片显示到前端页面
@RequestMapping("/getImage") @ResponseBody public void getImagesId(HttpServletResponse rp) { String filePath = "G:\\1.jpg"; File imageFile = new File(filePath); if (ima...
2020-05-06 10:17:50
1149
原创 oracle查询数据插入时间
select to_char(scn_to_timestamp(ORA_ROWSCN),'yyyy-mm-dd hh24:mi:ss:ff8') insert_time,t.* from table_name t
2019-10-25 09:47:39
4707
原创 oracle中instr用法
select substr('1_1_278_20170401', instr('1_1_278_20170401', '_', 1, 2) + 1, ((instr('1_1_278_20170401', '_', 1, 3) + 1) - (instr('1_1_278_20170401', '_', ...
2019-10-24 19:31:06
358
1
原创 JS格式化、反格式化数字
格式化function number_format(number, decimals, dec_point, thousands_sep) { /* * number:要格式化的数字 * decimals:保留几位小数 * dec_point:小数点符号 * thousands_sep:千分位符号 * */ number = (numbe...
2019-07-18 16:25:17
825
原创 oracle数据库的闪回操作(查询指定时间的数据,恢复数据)
--查看指定时间的数据快照select * from tablename AS OF TIMESTAMP to_timestamp('2019-07-11 10:00:00','yyyy-mm-dd hh24:mi:ss');--闪回数据--1、启动表的row movement特性ALTER TABLE tablename ENABLE ROW MOVEMENT;--2、闪回指定时...
2019-07-13 15:46:24
903
原创 将一个list集合拆分成n个集合
//方法一:private static <T> List<List<T>> spliceArrays(List<T> datas, int splitSize) { if (datas == null || splitSize < 1) { return null; } int total...
2019-07-12 15:13:03
1326
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅