自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(24)
  • 收藏
  • 关注

原创 透彻分析怎么用抽象类接口

public interface IStep { public String getPre(); public String getNext();}public interface IStepV { public String getStepTwo();}//抽象类实现两个接口public abstract class ABaseStep imp...

2019-10-24 10:38:52 136

原创 datarangepicker 实现及其事件

html: <div id="reportrange" style="display:inline-block;background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc; width: 230px;height:33px;"> <i class="fa fa-calenda...

2019-07-16 16:27:29 980

原创 POI解析Excel导入数据到mysql

所用jar poi-3.7.jar poi-oxml-3.7.jar poi-oxml-schemas-3.7.jar xmlbeans-2.6.0.jar dom4j-1.6.1.jar代码 @RequestMapping("/importExcel")@ResponseBodypublic Map importExcel(HttpServletReques...

2019-06-29 17:32:47 322

转载 js sort方法根据数组中对象的某一个属性值进行排序

转自 https://blog.csdn.net/qq_17335153/article/details/52574531var arr = [ {name:'zopp',age:0}, {name:'gpp',age:18}, {name:'yjj',age:8}];function compare(property){ return function...

2019-04-24 11:55:44 553

原创 node.js 获取post请求参数

1req.on('data', function (chunk) { alldata += chunk; //将字符串转换位一个对象 console.log(alldata); var dataString = alldata.toString(); var data=decodeURI(dataString) console.log(da...

2019-03-20 10:45:50 1609

原创 BootStrap dropdown 多层列表、 Knockout多重绑定

​<======================== ftl页面 start =====================> <tbody id="info" data-bind="foreach:{data:items,as:'item'}"> <tr> ...

2019-01-07 17:27:53 809

原创 两个平台端口号相同同时登录先登录的被挤退解决方案

在web.xml里面加 <session-config> <cookie-config> <name>archivesSessionId</name> </cookie-config> </session-config>

2018-11-07 14:04:06 645

原创 MySql查询多列不重复(多列组合起来不重复)的数据

SELECT * FROM user_customer GROUP BY user_id,customer_id,user_id_key ORDER BY idDESC;*代替所有列,项目中改成具体列​数据库 时间类型 date 精确到天 datetime精确到秒 timestamp精确到毫秒​...

2018-11-01 17:35:36 4329

原创 Java读取properties文件传给前台

读取iot.properties文件方法oneProperties prop=new Properties();String filePath=AsPatch.class.getClassLoader().getResource("iot.properties").getFile();FileInputStream in=new FileInputStream(filePath);...

2018-10-23 10:45:15 381

转载 解决iframe重定向让父级页面跳转

原文:http://www.jb51.net/article/40583.htm 有内嵌iframe的页面,当session过期时,点击连接重定向后的跳转会在iframe中跳转,在登录页面中加入下面的代码,就会在最外层页面跳转原文:http://www.cnblogs.com/JemBai/archive/2011/10/09/2203429.html <scrip...

2018-10-15 12:00:11 4491

原创 控制浏览器不能后退的js函数

$(document).ready(function(e) { var counter = 0; if (window.history && window.history.pushState) { $(window).on('popstate', function () { windo...

2018-10-15 11:18:19 603

原创 freemarker获取session的值

<#if Session["user"]?exists> ${Session.user.userName}</#if>

2018-10-15 11:15:37 4027

原创 ftl文件引入

<#import "spring.ftl" as s /><!DOCTYPE><html><head> <title> 演示页 </title> <link rel="stylesheet" type="text/css" href="<@s.url '/css/de...

2018-09-17 14:39:09 2033

原创 前台传数组,后台接收

JS、$.ajax({ url:path+"/user/distributeCustomer", data:{"userId":$("#userId").val(),"customerIds":checkedIds, "cancelIds":cancelIds}, beforeSend:function(){ $("#ucpBtn")...

2018-09-15 10:15:44 3923

原创 bootstrap-select 默认下拉列表向上

<select className="selectpicker dropup form-control" multiple data-live-search="false" title="请选择" data-dropup-auto="false"></select>

2018-09-14 10:52:14 2416

原创 MySql常用(死锁,加素引,查看素引)

show processlist; 查看进程show OPEN TABLES where In_use > 0KILL 73624 kill进程show index from t_reb_ebroomlisting 查看表素引CREATE INDEX index_ebroomlisting_gardenid ON t_reb_ebroomlis...

2018-09-07 18:14:23 207

原创 MySql update order by limit 同时使用需要将limit的sql再包一层

SQL: <update id="updateSalesManId" parameterType="map" > update T_BC_LISTINGIMAGE <set> FKSALESMANID='${salesmanId}' </set> wh...

2018-09-06 16:13:38 1666

原创 Bootstrap的下拉菜单被Div挡住

https://blog.csdn.net/jaris_jade/article/details/79084143 原理 给当前div添加样式 overflow:visible

2018-09-06 16:11:35 6117

原创 对多线程理解有用

1 带你通俗易懂的理解-- 线程、多线程与线程池https://blog.csdn.net/h176nhx7/article/details/785899492、 线程池的理解及使用https://blog.csdn.net/syoung99/article/details/525264753、 java等待一些线程执行完之后,再去执行别的方法(后者需要使用...

2018-09-06 16:09:03 181

原创 HighChart一些理解

1 showFirstLabel:Boolean是否显示坐标轴的第一个标签默认是:true2 tickWidth:Number坐标轴的宽度,设置为0时则不显示刻度线3、曲线图変平滑请设置type为spline,也就是chart: {type:'spline'}4、解决Highcharts要怎么参数才能把图形上的实心点去掉...

2018-09-06 16:07:10 251

原创 knockout 理解

1、this.items=ko.observableArray()必须用self.items.push() 而不能用self.items().push2、如果数据需要改变从后台获取的需要在self.items.push()前改变3 knoclout重新绑定 (ajax先加载页面再绑定的必须先清除之前绑定再绑定 不然会报错,而且在所有插件加载之前绑定....

2018-09-06 16:03:41 258

原创 两个div放一行(简单容易忘记)

方法一: float:left方法二: 两个div同时加上 style="display:inline-block"

2018-09-06 16:02:53 3728

原创 knockout js attr绑定以便js获取attributes的值

JSP、<div id="info" data-bind="foreach:itemsA"> <button name="userBtn" style="width:155px;height:30px;margin-left:8px;margin-top:5px" data-bind="style:{backgroundCo...

2018-07-16 16:17:25 469

转载 MySQL 事务没有提交导致 锁等待 Lock wait timeout exceeded

转自:http://blog.csdn.net/tanggao1314/article/details/53097561 Lock wait timeout exceeded当一个SQL执行完了,但未COMMIT,后select * from information_schema.innodb_trx之后找到了一个一直没有提交的只读事务,kill 到了对应的线程...

2017-10-14 07:31:22 174

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除