- 博客(4)
- 收藏
- 关注
转载 idea maven web项目部署
idea初学,每次部署完了,下次就忘记怎么去部署了,所以想记录在博客中。如下按照步骤放截图。一、首先看有没有设置Artifacts在File -> Project Structure点击artifacts ,看到空白的Nothing to show说明还没有添加,点击绿色的加号我选择的是Web Application: Exploded 将WEB工程以...
2017-12-21 10:38:00
100
转载 chartjs生成数据统计报表
参考自http://www.chartjs.org以柱状图bar为例1.后台的数据查询准备以mysql为例先用group by 和limit 从数据库里查出top5,例如查出每个城市的客户数量返回一个元素为Map的List集合。例如我用的mybatisselect返回resultMap 如下 <resultMap id="chartByCity" ty...
2017-10-09 14:17:00
255
转载 mybatis用memcache做二级缓存
参考自http://www.mybatis.org/memcached-cache/1.添加依赖<dependency> <groupId>org.mybatis.caches</groupId> <artifactId>mybatis-memcached</artifactId> <version&...
2017-09-29 17:16:00
163
转载 LeetCode 35. Search Insert Position (Easy)
上班无聊就在leetCode刷刷题目,有点遗憾的是到现在才去刷算法题,大学那会好好利用该多好啊。第35道简单算法题,一次性通过有点开心,分享自己的代码。问题描述Given a sorted array and a target value, return the index if the target is found. If not, return the index wh...
2017-09-21 10:59:00
89
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人