会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
蔡徐坤1987
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
5
6
7
8
9
10
11
下一页
2020年5月19日
关于数据源为授权车辆、企业车辆的判断(限foton)
摘要: int mode = carInfoService.getCompanyCarMode(companyId); public int getCompanyCarMode(Long companyId) { String sql = "select t.id from iov_biz_car_info
阅读全文
posted @ 2020-05-19 10:35 蔡徐坤1987
阅读(180)
评论(0)
推荐(0)
2020年3月17日
结果集处理:区间分组数量相加
摘要: package com.hz.demo; import com.alibaba.fastjson.JSON; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import org.apach
阅读全文
posted @ 2020-03-17 14:37 蔡徐坤1987
阅读(214)
评论(0)
推荐(0)
2020年2月27日
关于GIT配置公私钥
摘要: 问题:pull代码时显示 原因:公钥与私钥对不上,或者没有配置导致 解决: 1.生成私钥:TortoiseGIT → PuttyGen → Generate(点击后鼠标晃动会加速)→Save Private Key(ppk格式的文件,可以放在任意路径,例如:D:/private.ppk) 2.生成公
阅读全文
posted @ 2020-02-27 09:38 蔡徐坤1987
阅读(360)
评论(0)
推荐(0)
2020年1月8日
从eclipse迁移到ideal
摘要: 个人用eclipse比较多,什么Luna,Neon,Mars。几乎每年都要研发出一个版本。目前所在的这家公司,维护的是一个10年的老项目,需求迭代频率比较高,业务代码臃肿而难理解,依赖关系不清晰,代码质量参差不齐。听说早就想拆成微服务,由于欠下的技术债务过多,和研发的组织不健全,一直没有实施,随着时
阅读全文
posted @ 2020-01-08 14:39 蔡徐坤1987
阅读(207)
评论(0)
推荐(0)
SpringBoot+JPA+SpringSeurity+JWT
摘要: 目的:使用这个框架主要就是为了解决高并发环境下登陆操作对数据库及服务器的压力,同时能保证安全性; 加载时,SpringSecurity定义拦截器和添加两个Fitler; 登陆时,登陆成功,通过传入的信息(例如:用户名+密码)authenticationManager.authenticate()进行
阅读全文
posted @ 2020-01-08 10:04 蔡徐坤1987
阅读(941)
评论(0)
推荐(0)
2019年9月26日
SpringMVC的@InitBinder参数转换
摘要: @Controller @RequestMapping("/index") public class IndexController { /** * 解决前端传递的日期参数验证异常 * * @param binder * @author hzj */ @InitBinder({"param", "date"})//指定校验参数 protected void initB...
阅读全文
posted @ 2019-09-26 08:35 蔡徐坤1987
阅读(418)
评论(0)
推荐(0)
2019年8月8日
Spring国际化
摘要: 由公司平台及相关产品要向印度,俄罗斯等国家发展,原有项目必须做国际化; 原理很简单,spring引用ReloadableResourceBundleMessageSource并指定配置文件的路径,其bean的id指定是id="messageSource",MessageSource会自动找到配置文件
阅读全文
posted @ 2019-08-08 14:48 蔡徐坤1987
阅读(302)
评论(0)
推荐(0)
2019年6月28日
ZooKeeper CentOS7上安装
摘要: 下载http://www.apache.org/dyn/closer.cgi/zookeeper(我下的是zookeeper-3.4.14) 1、创建 /usr/local/services/zookeeper 文件夹: mkdir -p /usr/local/services/zookeeper
阅读全文
posted @ 2019-06-28 13:40 蔡徐坤1987
阅读(189)
评论(0)
推荐(0)
2019年6月20日
SpringBoot整合redis简单实现
摘要: 1.创建springboot项目 pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
阅读全文
posted @ 2019-06-20 10:01 蔡徐坤1987
阅读(515)
评论(0)
推荐(0)
2019年6月18日
Eureka整合sidecar异构调用
摘要: 本次使用nodejs脚本生成的异构程序测试: node-server.js 生成js文件保存执行cmd node+路径 测试 : localhost:8060 是否正常访问 1.首先修改Zuul网关的配置: 2.SideCarRunApp.java application.yml pom.xml 测
阅读全文
posted @ 2019-06-18 16:27 蔡徐坤1987
阅读(998)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
下一页
公告