随笔 - 835  文章 - 1 评论 - 40 阅读 - 102万
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

11 2018 档案
HttpServletRequest  通用的post 请求
摘要:@Context private MessageContext context; public HttpServletRequest getRequest(){ HttpServletRequest request = (HttpServletRequest) context .get(Abstra 阅读全文
posted @ 2018-11-30 15:25 lshan 阅读(937) 评论(0) 推荐(0) 编辑
List转数组
摘要:eg: List<Product> products = new ArrayList<Product>(); Product[] array = products.toArray(new Product[products.size()]); 阅读全文
posted @ 2018-11-29 12:09 lshan 阅读(132) 评论(0) 推荐(0) 编辑
Ubuntu 安装微信
摘要:参考:https://blog.csdn.net/deeposcar/article/details/80710843 阅读全文
posted @ 2018-11-27 13:10 lshan 阅读(98) 评论(0) 推荐(0) 编辑
POI解析大量数据
摘要:参考:https://blog.csdn.net/whandgdh/article/details/80267674 https://www.cnblogs.com/swordfall/p/8298386.html 阅读全文
posted @ 2018-11-27 11:50 lshan 阅读(149) 评论(0) 推荐(0) 编辑
EasyExcel 读写 excel easyexcel  web base64
摘要:官网: https://github.com/alibaba/easyexcel 直接看官网吧,下面做备份. 参考:https://blog.csdn.net/jiangjiandecsd/article/details/81115622 https://blog.csdn.net/jiangguj 阅读全文
posted @ 2018-11-26 13:50 lshan 阅读(998) 评论(0) 推荐(0) 编辑
POI 读写大数据量 EXCEL
摘要:参考:https://www.cnblogs.com/tootwo2/p/6683143.html 阅读全文
posted @ 2018-11-26 11:51 lshan 阅读(266) 评论(0) 推荐(0) 编辑
将文件写到磁盘
摘要:public class FileUtils { private static final Logger logger = LoggerFactory.getLogger(FileUtils.class); /** * * @param message * @param topath * @param fileName ... 阅读全文
posted @ 2018-11-23 17:18 lshan 阅读(253) 评论(0) 推荐(0) 编辑
dockerfile 镜像 指定虚拟机的内存
摘要:dockerfile eg: # sea,20181122 FROM frolvlad/alpine-oraclejdk8:slim #add volume VOLUME /tmp #add project ADD sea-vat-service-0.0.1-SNAPSHOT.jar app.jar 阅读全文
posted @ 2018-11-23 14:01 lshan 阅读(2907) 评论(0) 推荐(0) 编辑
springBoot整合MongoDB(动态查询)
摘要:依赖: 配置 application.properties: #spring.data.mongodb.uri=mongodb://userName:password@ip:port/databasespring.data.mongodb.database=ELSA_MILESTONE_SUBSCR 阅读全文
posted @ 2018-11-23 12:33 lshan 阅读(3508) 评论(0) 推荐(0) 编辑
ubuntu 使用sudo apt-get update命令的时候会报http://archive.ubuntukylin.com:10006/ubuntukylin/dists/xenial/InRelease 无法连接
摘要:参考: https://blog.csdn.net/xiaoyan94/article/details/52404539 于是找到一个包含 http://archive.ubuntukylin.com:10006/ubuntukylin/dists/…的list……原来这货是搜狗输入法: xiaoy 阅读全文
posted @ 2018-11-22 17:58 lshan 阅读(2953) 评论(0) 推荐(0) 编辑
在Ubuntu下进行MongoDB安装步骤
摘要:参考:https://www.cnblogs.com/shileima/p/7823434.html (比较老) 参考:http://www.cnblogs.com/ajianbeyourself/p/5932477.html (推荐) 3.X 社区文档 http://www.mongoing.co 阅读全文
posted @ 2018-11-21 16:41 lshan 阅读(218) 评论(0) 推荐(0) 编辑
在Ubuntu 14.04 64bit上安装百度云Linux客户端BCloud
摘要:参考:https://www.cnblogs.com/kluan/p/6014989.html 下载 网盘安装包,Bcloud 是一个 Linux 下超赞的客户端, 官网 github: https://github.com/LiuLang/bcloud-packages 安装步骤:点击安装即可 安 阅读全文
posted @ 2018-11-21 16:01 lshan 阅读(188) 评论(0) 推荐(0) 编辑
spring data jpa update
摘要:一:在controller 加上: 二: update 的时候使用 save 即可: 阅读全文
posted @ 2018-11-19 09:43 lshan 阅读(551) 评论(0) 推荐(0) 编辑
统计
摘要: 阅读全文
posted @ 2018-11-17 18:03 lshan 阅读(109) 评论(0) 推荐(0) 编辑
多数据源springboot-jta-atomikos
摘要:参考: https://github.com/classloader/springboot-jta-atomikos-demo 參考:二 :建议参考 https://blog.csdn.net/a510835147/article/details/75675311 <dependency> <gro 阅读全文
posted @ 2018-11-15 13:58 lshan 阅读(1301) 评论(0) 推荐(0) 编辑
rabbitMQ 的基本知识
摘要:参考: https://www.cnblogs.com/dwlsxj/p/RabbitMQ.html 阅读全文
posted @ 2018-11-13 18:02 lshan 阅读(105) 评论(0) 推荐(0) 编辑
java 调用短信 api 接口发送短信
摘要:参考: https://blog.csdn.net/u014793522/article/details/59062014 参考 ;https://blog.csdn.net/Lu_shilusiqi/article/details/82118136 参考:https://blog.csdn.net 阅读全文
posted @ 2018-11-13 16:30 lshan 阅读(370) 评论(0) 推荐(0) 编辑
springboot整合ribbitMQ
摘要:参考:https://blog.csdn.net/a13627210064/article/details/82348059 参考:https://blog.csdn.net/u010288264/article/details/55260237 (1 2 3 4) 依賴: <repositorie 阅读全文
posted @ 2018-11-13 14:32 lshan 阅读(181) 评论(0) 推荐(0) 编辑
【RabbitMQ】ubuntu下RabbitMQ安装与简单使用
摘要:参考:https://blog.csdn.net/the_fool_/article/details/80570971 阅读全文
posted @ 2018-11-13 14:21 lshan 阅读(160) 评论(0) 推荐(0) 编辑
@Slf4j注解
摘要:参考:https://blog.csdn.net/qq_26344609/article/details/78905845 如果不想每次都写private final Logger logger = LoggerFactory.getLogger(XXX.class); 可以用注解@Slf4j 一、 阅读全文
posted @ 2018-11-13 14:04 lshan 阅读(463) 评论(0) 推荐(0) 编辑
quartz 定时任务的增删改
摘要:参考: https://blog.csdn.net/llmys/article/details/81069863 阅读全文
posted @ 2018-11-12 09:22 lshan 阅读(151) 评论(0) 推荐(0) 编辑
maven 在pom.xml 中指定仓库位置
摘要:...... 在pom.xml 中添加 仓库位置(这样遇到私服没有的依赖,就会去这下载) <repositories> <repository> <id>spring-milestones</id> <name>Spring Milestones</name> <url>https://repo.s 阅读全文
posted @ 2018-11-09 17:33 lshan 阅读(4494) 评论(0) 推荐(0) 编辑
springboot sybase 数据库
摘要:依赖:(驱动) 配置:application.yml # Hikari will use the above plus the following to setup connection pooling#spring.datasource.type=com.zaxxer.hikari.HikariD 阅读全文
posted @ 2018-11-09 17:27 lshan 阅读(1759) 评论(0) 推荐(0) 编辑
spring boot 整合 (全)
摘要:参考: https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples 阅读全文
posted @ 2018-11-07 17:40 lshan 阅读(115) 评论(0) 推荐(0) 编辑
spring boot 整合案例
摘要:github : https://github.com/nbfujx/springBoot-learn-demo 阅读全文
posted @ 2018-11-07 10:12 lshan 阅读(231) 评论(0) 推荐(0) 编辑
spring boot 整合MongoDB
摘要:参考 https://www.cnblogs.com/nbfujx/p/7999171.html 阅读全文
posted @ 2018-11-07 10:09 lshan 阅读(94) 评论(0) 推荐(0) 编辑
CQRS command Query
摘要:参考:https://www.jdon.com/cqrs.html 阅读全文
posted @ 2018-11-06 18:12 lshan 阅读(88) 评论(0) 推荐(0) 编辑
Axon框架使用指南
摘要:参考:https://blog.csdn.net/wangli13860426642/article/details/80018222 详细参考: https://blog.csdn.net/wangli13860426642/article/category/7607196 阅读全文
posted @ 2018-11-06 18:04 lshan 阅读(312) 评论(0) 推荐(0) 编辑
命令查询职责分离(CQRS)模式
摘要:参考: http://www.cnblogs.com/yangecnu/p/Introduction-CQRS.html 阅读全文
posted @ 2018-11-06 15:55 lshan 阅读(104) 评论(0) 推荐(0) 编辑
传统三层架构与DDD分层架构
摘要:参考 https://www.cnblogs.com/sandyliu1999/p/4969445.html 阅读全文
posted @ 2018-11-06 11:46 lshan 阅读(379) 评论(0) 推荐(0) 编辑
CQRS架构
摘要:参考:https://www.cnblogs.com/shijingxiang/articles/5465495.html http://www.cnblogs.com/netfocus/p/4055346.html 阅读全文
posted @ 2018-11-05 17:52 lshan 阅读(118) 评论(0) 推荐(0) 编辑
win10下装的ubuntu14.04双系统,ubuntu系统访问win10磁盘问题
摘要:参考:https://blog.csdn.net/u010426270/article/details/52420231 ubuntu下 解决方法: 1. 在终端输入如下命令,查看分区挂载情况 2. 修复挂载错误的相应的分区,如提示中的/dev/sda4,输入:(此处是sda4) 阅读全文
posted @ 2018-11-05 11:25 lshan 阅读(127) 评论(0) 推荐(0) 编辑
XMind8 安装
摘要:参考:https://blog.csdn.net/qq_35911589/article/details/81901868 https://blog.csdn.net/Zjhao666/article/details/80851530 转载自: https://blog.csdn.net/Zjhao 阅读全文
posted @ 2018-11-02 17:32 lshan 阅读(177) 评论(0) 推荐(0) 编辑
POI 解析excel 空行问题
摘要:https://www.cnblogs.com/interdrp/p/4019583.html 阅读全文
posted @ 2018-11-01 13:58 lshan 阅读(436) 评论(0) 推荐(0) 编辑
jdk配置(备份)
摘要:jdk 下载:如果官网没有账号: https://www.iworkh.com/download/share/99-%E8%BD%AF%E4%BB%B6/04-%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA/jdk/ #####set java environment #e 阅读全文
posted @ 2018-11-01 11:54 lshan 阅读(134) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示