上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 22 下一页
摘要: Redis中启动失败解决方案: redis-server.exe redis.windows.conf redis-cli.exe shutdown exit redis-server.exe redis.windows.conf Redis中默认为6379 阅读全文
posted @ 2022-10-19 17:11 爱豆技术部 阅读(176) 评论(0) 推荐(0)
摘要: JSON格式解析: {"data":{"id":166,"sumProductive":468}} //getJSONObject("data"),对data进行剥离,返回 jsonObject对象 JSONObject jsonObject = JSON.parseObject(string).g 阅读全文
posted @ 2022-10-18 15:15 爱豆技术部 阅读(2440) 评论(0) 推荐(0)
摘要: lambda函数表达: package com.msb; public class LambdaTest { public static void main(String[] args) { //接口对象指向实现类,多态 Factory factory = new Sub(); User user 阅读全文
posted @ 2022-07-21 12:02 爱豆技术部 阅读(45) 评论(0) 推荐(0)
摘要: 内外联表查询 右连接(Right Join) tbl2作为主表,(右表显示全字段),左表tbl1显示满足条件的数据 select * from tbl1 Right Join tbl2 where tbl1.ID = tbl2.ID 左连接(Left Join) tbl1作为主表,(左表显示全字段) 阅读全文
posted @ 2022-07-20 22:33 爱豆技术部 阅读(70) 评论(0) 推荐(0)
摘要: Dubbo项目(相比zookeeper简化代码) 逻辑: API在定义pojo类型的实体类,定义接口DemoDubboService,以及传入值probder中定义实现类,去实现DemoDubboService接口,重写demo方法,但返回值null,做启动器consumer中定义接口DemoSer 阅读全文
posted @ 2022-07-20 16:47 爱豆技术部 阅读(53) 评论(0) 推荐(0)
摘要: 手写RPC框架 项目依赖关系,父项目zookeeper, 子模块 ​ pojo: service中需要的实体类 ​ service:包含被serviceimpl和consumer依赖的接口。 ​ serviceimpl:provider提供的服务内容 ​ consumer:消费者,调用服务内容。 父 阅读全文
posted @ 2022-07-19 17:53 爱豆技术部 阅读(58) 评论(0) 推荐(0)
摘要: Zookeeper文件写入 首先必须要关闭虚拟机防火墙,否则写入报错 关闭虚拟机防火墙 systemctl status firewalld--查看防火墙状态,当为runing为打开 systemctl stop firewalld 临时关闭 systemctl disable firewalld 阅读全文
posted @ 2022-07-19 12:11 爱豆技术部 阅读(74) 评论(0) 推荐(0)
摘要: 1,在git bash here终端执行 配置信息 git config --global user.name "bobo" git config --global user.email "dengpbs@163.com" 关联Gitee码云 ssh-keygen -t rsa -C "dengpb 阅读全文
posted @ 2022-07-16 10:32 爱豆技术部 阅读(487) 评论(0) 推荐(0)
摘要: 搭建项目运行的SpringBoot环境: 1,导入依赖pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3. 阅读全文
posted @ 2022-07-11 22:23 爱豆技术部 阅读(193) 评论(0) 推荐(0)
摘要: CRUD各种实现类的总结: (针对queryWrapper可以实现的) @Override public Integer insertCustomer(ZhCustomer zhCustomer) { QueryWrapper<ZhCustomer> queryWrapper = new Query 阅读全文
posted @ 2022-07-11 22:03 爱豆技术部 阅读(83) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 22 下一页