- 博客(42)
- 收藏
- 关注
转载 maven导入第三方jar包
mvn install:install-file -Dfile=D:/ServiceBus_4.0.jar -DgroupId=com.kd -DartifactId=ServiceBus -Dversion=4.0 -Dpackaging=jar ...
2018-07-24 15:02:00
183
转载 微信支付
http://www.java1234.com/a/kaiyuan/java/2017/0413/7937.html 转载于:https://my.oschina.net/u/319705...
2018-05-30 15:40:00
173
转载 java5月30号整理资料
知识树http://www.java1234.com/javaxuexiluxiantu.html 后台项目源码:https://my.oschina.net/u/2371129/blog/833011 springboot代码https://blog.youkuaiyun.com/forezp/a...
2018-05-30 15:29:00
150
转载 idea快捷键
Ctrl+G(跳转到指定行) ctrl+updown 跳到文件收尾 转载于:https://my.oschina.net/u/3197054/blog/1812805...
2018-05-15 14:26:00
125
转载 软件考试报名入口
http://www.jsiteec.org/ 转载于:https://my.oschina.net/u/3197054/blog/1809294
2018-05-09 09:32:00
245
转载 自控力
https://www.zhihu.com/question/35957038/answer/69476937 转载于:https://my.oschina.net/u/3197054/b...
2018-05-08 10:02:00
152
转载 idea在springboot项目的热部署
http://www.mamicode.com/info-detail-1938268.html 转载于:https://my.oschina.net/u/3197054/blog/180...
2018-05-07 16:35:00
112
转载 linux操作指令
连接xshell 新建连接,主机ip,linux用户名,密码 指令 显示文件夹内容 ls 打开目录 cd 目录名 赋予权限 chmod +x *.sh 编辑 vi 文件 插入 i 保存 esc shift+冒号 x 回车 不保存 q! 删除 rm 文件名 执行文件 ./文件名 打开日志tail...
2018-04-13 11:55:00
100
转载 java8实例
list取字段值,并且拼接成string字符串 List<TradePayLog> tradePayLogs tradePayLogs.stream().map(s->s.getBankName()).collect(Collectors.joining(","));...
2017-12-19 17:45:00
130
转载 sourcetree的安装问题
https://www.cnblogs.com/yc8930143/p/6298296.html 转载于:https://my.oschina.net/u/3197054/blog/158...
2017-12-07 14:52:00
134
转载 注意点
1 子类的构造方法不能和父类的构造方法冲突 2 使用竹节必须有默认的无参的构造方法 转载于:https://my.oschina.net/u/3197054/blog/1583375...
2017-12-01 11:45:00
120
转载 ThreadPoolExecutor线程池实例
ThreadPoolExecutor http://www.360doc.com/content/17/0103/22/7662927_619864737.shtml https://www.cnblogs.com/sybboy/p/6519314.html http://blog.cs...
2017-11-30 18:14:00
133
转载 线程池的减数器CountDownLatch使用
http://blog.youkuaiyun.com/shihuacai/article/details/8856370 转载于:https://my.oschina.net/u/3197054/bl...
2017-11-30 17:25:00
222
转载 remote方法
http://wiki.jikexueyuan.com/project/intellij-idea-tutorial/remote-debugging.html 转载于:https://m...
2017-11-21 15:39:00
481
转载 sql中foreach写法
" <foreach item=\"coachId\" collection=\"coachIds\" separator=\",\" open=\"(\" close=\")\" index=\"\">"," #{coachId, jdbcType=BIGINT}"," &l...
2017-11-02 10:48:00
2047
转载 字符串合并中如果concat中一个参数为空,则返回空
concat(“null”,“1”),返回空 转载于:https://my.oschina.net/u/3197054/blog/1559672...
2017-11-02 10:37:00
1354
转载 从一个list中 按某字段进行分组保存
/** * 按照异常批次号对已开单数据进行分组 * @param billingList * @return * @throws Exception */ private Map<String, List<TmExcpNewVo>> groupBillingDataBy...
2017-10-31 20:02:00
916
转载 去重sql
情况一 表内重复 a表 a b 1 1 1 2 只搜索一条记录,展示所有字段。 selecta.*fromtbawhereval=(selectmin(val)...
2017-10-19 16:17:00
121
转载 使用ZooKeeper实现Java跨JVM的分布式锁
http://blog.youkuaiyun.com/nimasike/article/details/51567653 转载于:https://my.oschina.net/u/3197054/bl...
2017-08-31 12:06:00
116
转载 类拷贝
http://www.jb51.net/article/48201.htm 转载于:https://my.oschina.net/u/3197054/blog/1526483
2017-08-30 19:17:00
157
转载 HTTPS和HTTP的区别
HTTPS和HTTP的区别主要如下: 1、https协议需要到ca申请证书,一般免费证书较少,因而需要一定费用。 2、http是超文本传输协议,信息是明文传输,https则是具有安全性的ssl加密传输协议。 3、http和https使用的是完全不同的连接方式,用的端口也不一样...
2017-08-30 16:48:00
240
转载 sql优化
执行计划:http://blog.youkuaiyun.com/xifeijian/article/details/19773795 sql优化:https://www.douban.com/note/345871485 聚集索引的比较http://www.cnblogs.com/lihuiyong...
2017-08-29 15:39:00
107
转载 知识点
jvm:http://blog.youkuaiyun.com/u012658346/article/details/50908152 多线程:http://www.cnblogs.com/wxd0108/p/5479442.html 单例:http://blog.youkuaiyun.com/u010923921...
2017-07-10 10:32:00
81
转载 基础知识
1命名规则: 所有命名规则必须遵循以下规则: 1)、名称只能由字母、数字、下划线、$符号组成 2)、不能以数字开头 3)、名称不能使用JAVA中的关键字。 转载于:https://...
2017-06-27 15:47:00
81
转载 JSONP的三种形式
资料地址http://girl-luo.iteye.com/blog/2325074 第一种,不指定任何参数 type:jsonp 第二种,指定自定义参数 jsonp:jsonpcallback 第三种,指定回调参数名称(优先执行回调方法,再执行success方法) jsonpCa...
2017-06-08 11:20:00
166
转载 Intellij Idea 15 生成serialVersionUID的方法
默认情况下Intellij IDEA是关闭了继承了Serializable接口的类生成serialVersionUID的警告。如果需要ide提示生成serialVersionUID,那么需要做以下设置: 1、setting->Inspections->Serializat...
2017-04-14 11:09:00
62
转载 springmvc资料地址
springmvc配置http://www.cnblogs.com/goody9807/p/6450589.html mybatis配置:http://www.cnblogs.com/wxisme/p/4924561.html mybatis配置:http://blog.youkuaiyun.com/...
2017-04-13 16:54:00
118
转载 spring和springmvc容器配置
Spring 和SpringMVC 的父子容器关系 在Spring整体框架的核心概念中,容器是核心思想,就是用来管理Bean的整个生命周期的,而在一个项目中,容器不一定只有一个,Spring中可以包括多个容器,而且容器有上下层关系,目前最常见的一种场景就是在一个项目中引入Spring...
2017-04-11 11:08:00
140
转载 mysql安装教程,配置
mysql安装教程:http://jingyan.baidu.com/article/363872ec2e27076e4ba16fc3.html 配置http://www.cnblogs.com/silence-hust/p/5071180.html ...
2017-04-11 10:53:00
127
转载 GIT使用教程
相关资料 使用教程:http://blog.youkuaiyun.com/dl425134845/article/details/50997357 错误解决:http://blog.youkuaiyun.com/dengjianqiang2011/article/details/9260435 安装配置:htt...
2017-04-06 23:21:00
102
转载 MAVEN的pom文件配置要点
1 只有web项目,才能用war打包, 普通的java项目用jar打包, 父类模块必须用pom打包,并在modules中给出所有子类地址 2.项目会先读取本地的maven仓库,如果没有,会从远端仓库(maven中央仓库和公司私服仓库)下载, 3.同事依赖servlet-api和jsp-...
2017-04-06 10:39:00
108
转载 SpringMVC框架入门配置 IDEA下搭建Maven项目
初衷:本人初学SpringMVC的时候遇到各种稀奇古怪的问题,网上各种技术论坛上的帖子又参差不齐,难以一步到位达到配置好的效果,这里我将我配置的总结写到这里供大家初学SpringMVC的同僚们共同学习使用! 关于SpringMVC的介绍我就不在此赘述了,想必每一个配置Spring的人都已经或...
2017-03-24 16:43:00
302
转载 一些注解的作用和比较
@Autowired和@qualifier @Autowired动态加载spring容器中扫描的bean, @qualifier("className"),为了防止有多个bean,无法区分,用className,指定加载的bean。 @Transactional 事务注解,防止sql...
2017-03-17 18:04:00
131
转载 按类中字段对list排序(从大到小)
按类中字段对list排序(从大到小) Collections.sort(ClassA, new Comparator<ClassA,>() { @Override public int ...
2017-03-17 10:26:00
613
转载 开发小经验
1.写SQL时,不可以写a>b>c,应该写为a>b and b>c 2.forward只是服务端任务转发(在一个request生命周期内),sendRedirect()方法是浏览器重定向,是两个request生命周期。重定向前的request的参数会丢失, 3.js...
2017-03-15 17:11:00
110
转载 mdmdmd
IntroGo ahead, play around with the editor! Be sure to check out bold and italic styling, or even links. You can type the Markdown syntax, use the...
2017-03-10 14:41:00
375
转载 IntelliJ properties文件(编码转换)方法
settings-File Encodings 右下角 Transparent native-to-ascii conversion的勾勾上,即可。 同时,建议把旁边哪个,Defaule encoding for properties files,属性设置成utf-8 ...
2017-03-09 17:06:00
577
转载 List,set,Map 的用法和区别
Collection ├List │├LinkedList │├ArrayList │└Vector │ └Stack └Set Map ├Hashtable ├HashMap └WeakHashMap Collection接口 Collection是最基本的集合接口,一个Collect...
2017-03-08 13:06:00
82
转载 创建动态定时器(jdk1.6下)
场景,需要动态生成定时器,并且把一些参数存在定时器中,在日终执行时的方法里带上参数。 1:动态日终生成,销毁方法。 package com.focustech.ins.web.financial.service;import com.focustech.ins.financial.mo...
2017-01-03 14:45:00
478
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅