会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
【MapSheep】
[好记性不如烂笔头]
博客园
首页
新随笔
新文章
联系
订阅
管理
上一页
1
···
29
30
31
32
33
34
35
36
37
···
39
下一页
2021年3月21日
JavaSE知识点总结
摘要: 0.代码展示 // 1. 把数组中的字段变成字符串,并且循环展示 // 输出:[1, 2, 4, 545, 11, 32, 13131, 4444] int[] ints = {1, 2, 4, 545, 11, 32, 13131, 4444}; //定义数组 int[] code = new i
阅读全文
posted @ 2021-03-21 20:41 (Play)
阅读(89)
评论(0)
推荐(0)
2021年3月12日
Redis的五大数据类型特性及应用场景
摘要: Redis的五大数据类型 一个key对应一个value: String 字符串 String是redis最基本的类型,一个key对应一个value; String类型是二进制安全的,意思是redis的string可以包含任何数据: 比如:jpg图片或者序列化的对象; 一个redis中的字符串valu
阅读全文
posted @ 2021-03-12 17:17 (Play)
阅读(280)
评论(0)
推荐(0)
Centos7更换阿里源
摘要: 更换源之前,请确保Centos7 已经连上网 cd /etc cd /etc/yum.repos.d/ mv CentOS-Base.repo CentOS-Base.repo.back #建议备份或者改名 wget -O CentOS-Base.repo http://mirrors.aliyun
阅读全文
posted @ 2021-03-12 15:58 (Play)
阅读(192)
评论(0)
推荐(0)
Run "yum repolist all" to see the repos you have.
摘要: Centos7执行 yum -y install wget [root@localhost yum.repos.d]# yum -y install wget 已加载插件:fastestmirror There are no enabled repos. Run "yum repolist all"
阅读全文
posted @ 2021-03-12 14:38 (Play)
阅读(1661)
评论(0)
推荐(0)
2021年3月11日
MySQL相关知识
摘要: 主外键标识 如果键是PRI,则列是主键或多列主键中的列之一。 如果键是UNI,则该列是唯一索引的第一列。 如果键为MUL,则该列是非唯一索引的第一列,其中允许在列中多次出现给定值。 MySQL的三大范式 要求具有原子性、字段不可在被分割。 必须满足第一范式的前提下,除了主键外,其它的字段都必须完全依
阅读全文
posted @ 2021-03-11 14:27 (Play)
阅读(81)
评论(0)
推荐(0)
2021年3月9日
mybatis foreach item与index
摘要: mybatis foreach item与index 注意: index的确是从0开始的 index和item的区别 index代表每次循环的次数, 相当于for循环中的 i item代表每次循环的变量值, 相当于for循环中的 varList.get(i) 代码示例仅供参考【入参: [{"dept
阅读全文
posted @ 2021-03-09 10:47 (Play)
阅读(4251)
评论(0)
推荐(3)
Java后端接收Get、Post方式传值
摘要: Get方式传递数组与集合, Java后端接收 Get方式传递 /** * @param Integer[] ids or List<Integer> list * @author code.Map * @version 创建时间:2021年3月9日 下午10:02:24 * 请求地址: http:/
阅读全文
posted @ 2021-03-09 10:45 (Play)
阅读(2282)
评论(0)
推荐(0)
Controller报错: java.lang.NoSuchMethodException: java.util.List.<init>()
摘要: 报错原因: 对象在初始化时没有找到对应的构造方法, 从而导致对象初始化失败。 解决方法: 提供相应的构造方法即可, 如示例接口, 有两种处理方法。 方法一, 参数前加@RequestParam @GetMapping("sample") public void sample(@RequestPara
阅读全文
posted @ 2021-03-09 10:43 (Play)
阅读(306)
评论(0)
推荐(0)
【Mybatis】Mybatis一对多、多对一
摘要: Mybatis多对一【association】 多对一 /** * 添加部门实体字段 * 第一步:多方添加一方的实体类:com/hxh/basic/project/vo/UserVo.java:18 */ private GradeVo gradeVo; /*第二步:在一方Mapper中添加根据编号
阅读全文
posted @ 2021-03-09 09:42 (Play)
阅读(157)
评论(0)
推荐(0)
2021年3月5日
Dependencies - [依赖], Libraries - [库]
摘要: Dependencies - [依赖], Libraries - [库] IDEA中库和依赖的关系。 01 02
阅读全文
posted @ 2021-03-05 17:22 (Play)
阅读(148)
评论(0)
推荐(0)
上一页
1
···
29
30
31
32
33
34
35
36
37
···
39
下一页