- 博客(7)
- 收藏
- 关注
原创 本地电脑window搭建redis集群
本地电脑window搭建redis集群 注意:D:\Redis-Cluster\Redis1\是我本地安装redis的目录 第一步:下载安装 Redis-x64-3.2.100.msi (D:\tools\redis\redis) rubyinstaller-2.3.3-x64.exe (D:\tools\ruby) 第二步:配置集群端口 1、Conf的内容: port 7000 loglevel notice logfile "D:/Redis-Cluster/Log...
2020-11-24 16:09:17
258
原创 oracle的列转行的问题
列转行有两种表示: 第一种是分别把每个级别的的价格合成总数: select * from talbe pivot (sum( N_PRICE) for vc_level in ('初级' as primary,'中一级' AS middleLevel,'中二级' AS secondary,'中三级' AS secondaryThree,'高一级' AS highLevel, '高...
2018-11-12 17:01:19
333
原创 oracle计算当前的上月、上一周的时间
--上一月 select to_char(trunc(sysdate,'MM')-1,'yyyy-MM-dd') from dual; --建立函数上周的开始时间 create or replace function fun_acc_getlastweekstart(systemdate in date) return varchar2 is result_str varchar2(...
2018-11-02 17:49:06
1253
原创 spring boot+layui的导入excel模板数据保存到数据库中
html代码 <button type="button" class="layui-btn" id="importFile" shiro:hasAnyRoles="root,resourceManager"><i class="layui-icon"></i>导入考勤模板</button> j
2018-11-01 13:59:38
5702
原创 极光推送的java实现
第二导入 @PropertySource("classpath:config/properties/jpush.properties") @Component public class JpushConfig { @Value(value="${appKey}") public String appKey; @Value(value="${appSecret...
2018-10-15 11:07:24
404
原创 swagger codegen自定义模板的实现流程
swagger codegen学习自定义模板 * 参考https://www.cnblogs.com/shamo89/p/7680771.html * 下载Swagger codegen的jar包https://oss.sonatype.org/content/repositories/releases/io/swagger/swagger-codegen-cli/ * 本地下载的版...
2018-09-21 10:20:10
3920
转载 使用httpClient连接池处理get或post请求
1, 创建一个HttpClientPoolpackage com.iwhere.easy.travel.tool;import org.apache.http.client.config.CookieSpecs;import org.apache.http.client.config.RequestConfig;import org.apache.http.impl.client.Closeabl...
2018-04-28 11:14:56
1420
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人