上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页
摘要: //加时间戳防缓存 var imgurl = "/pcms/headImg/${sessionScope.accountInfo.accountId}_cut.jpg?time="+new Date().getTime(); $('.header-portrait img').remove(); $('.header-portrait').prepend(''); 阅读全文
posted @ 2019-05-13 12:01 小泉哥 阅读(1880) 评论(0) 推荐(1)
摘要: ${sessionScope.XXXXXX.XXXXXXX} 阅读全文
posted @ 2019-05-07 19:10 小泉哥 阅读(1130) 评论(0) 推荐(0)
摘要: var intervalId;//全局变量 clearInterval(intervalId); intervalId=setInterval(getABC,1000*5); function getABC(){ ....... } 阅读全文
posted @ 2019-05-07 16:46 小泉哥 阅读(110) 评论(0) 推荐(0)
摘要: 查询: 结果: 阅读全文
posted @ 2019-04-19 11:59 小泉哥 阅读(418) 评论(0) 推荐(0)
摘要: JdbcTemplate jdbcTemplate=(JdbcTemplate) SpringUtils.getBean("jdbcMysqlTemplate"); DruidDataSource drs = (DruidDataSource) jdbcTemplate.getDataSource();//前面实现各有不同主要从配置bean中获取DruidDataSource int acti... 阅读全文
posted @ 2019-04-17 16:03 小泉哥 阅读(12803) 评论(0) 推荐(0)
摘要: 起因:系统连接池满了 加配置排查: 重启系统跑一段时间查log: 定位到泄漏代码位置。 阅读全文
posted @ 2019-04-17 11:36 小泉哥 阅读(3134) 评论(0) 推荐(0)
摘要: 这是由于spring-boot需要访问https://start.spring.io外网,但是由于国内的局域网限制导致的。 解决办法: 进入到IDEA的setting 搜索 HTTP Proxy 选择Auto-detect proxy settings 点击最下面的Check connection弹 阅读全文
posted @ 2019-04-16 16:56 小泉哥 阅读(1521) 评论(0) 推荐(0)
摘要: 原理:java的Runtime.getRuntime().exec(commandText)可以调用执行cmd指令。 cmd /c dir 是执行完dir命令后关闭命令窗口。 cmd /k dir 是执行完dir命令后不关闭命令窗口。 cmd /c start dir 会打开一个新窗口后执行dir指 阅读全文
posted @ 2019-04-16 11:24 小泉哥 阅读(1095) 评论(0) 推荐(0)
摘要: 作用于iframe嵌套页面,window.close()无效的情况。 阅读全文
posted @ 2019-04-15 14:09 小泉哥 阅读(853) 评论(0) 推荐(0)
摘要: ##查看所有表信息 SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA = 'pcms-zgh20190327' ##查看各个表数据量 SELECT table_name,table_rows FROM information_schema.tables WHERE TABLE_SCHEMA = 'pcms-zgh20190327... 阅读全文
posted @ 2019-04-12 09:50 小泉哥 阅读(32069) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页