一、简介 Druid是阿里开源的一个JDBC应用组件, 其包括三部分: DruidDriver: 代理Driver,能够提供基于Filter-Chain模式的插件体系。 DruidDataSource: 高效可管理的数据库连接池。 SQLParser: 实用的SQL语法分析 通过Druid连接池中间 ...
分类:
数据库 时间:
2020-07-07 17:32:02
阅读次数:
94
var index=parent.layer.getFrameIndex(window.name); //获取当前窗口的name parent.layer.close(index);//关闭当前窗口 window.parent.location.reload();//刷新例子: layui.use( ...
分类:
其他好文 时间:
2020-07-07 17:18:39
阅读次数:
162
问 题 { "result": { "total": "3", "shops": [ { "shopId": "8b615ce0", "shopName": "舒", "icon": }, { "shopId": "f6f83000a", "shopName": "二号", "icon": }, ] ...
分类:
Web程序 时间:
2020-07-07 15:19:10
阅读次数:
217
这里主要是有一点: 1 Math.ceil(d1) ceil 方法上有这么一段注释:If the argument value is less than zero but greater than -1.0, then the result is negative zero 如果参数小于0且大于-1 ...
分类:
其他好文 时间:
2020-07-07 13:28:09
阅读次数:
80
当使用DBMS_AUDIT_MGMT.SET_AUDIT_TRAIL_LOCATION 更改用于存储审核数据的默认表空间时,会在新表空间中创建AUDSYS.AUD$UNIFIED表的所有新表分区,lob分区和索引分区。 (旧的分区仍保留在原表空间) 如果未在新表空间中创建LOB和INDEX分区,可能 ...
分类:
其他好文 时间:
2020-07-07 09:18:57
阅读次数:
78
一个整型数组 nums 里除两个数字之外,其他数字都出现了两次。请写程序找出这两个只出现一次的数字。要求时间复杂度是O(n),空间复杂度是O(1)。 示例 1: 输入:nums = [4,1,4,6]输出:[1,6] 或 [6,1]示例 2: 输入:nums = [1,2,10,4,1,4,3,3] ...
分类:
编程语言 时间:
2020-07-07 00:38:50
阅读次数:
74
System类 示例代码: public class Demo3 { public static void main(String[] args) { //arrayCopy 数组复制 int[] src = {12, 34, 45, 56, 67, 45}; int[] dest = new in ...
分类:
其他好文 时间:
2020-07-06 20:00:11
阅读次数:
61
public String save(@Validated BzDitch//时间 bzDitch) { if(bzDitch.getIsNewRecord()){ bzDitch.setDitTime(new Date()); } bzDitchService.save(bzDitch); ret ...
分类:
其他好文 时间:
2020-07-06 19:56:51
阅读次数:
78
java.util.List 分段 使用google的guava类库对List分段处理 List<Integer> intList = Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8); List<List<Integer>> subSets = Lists.pa ...
分类:
编程语言 时间:
2020-07-06 18:02:38
阅读次数:
74
传递参数: window.location='editCourse.html?dataId='+dataId+''; 获取url中的参数(封装的方法): function getUrlParam(name) { var reg = new RegExp("(^|&)" + name + "=([^& ...
分类:
编程语言 时间:
2020-07-06 17:59:15
阅读次数:
55