【MapSheep】
[好记性不如烂笔头]
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 34 下一页
摘要: 更换源之前,请确保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) 阅读(185) 评论(0) 推荐(0)
摘要: 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) 阅读(1655) 评论(0) 推荐(0)
摘要: 主外键标识 如果键是PRI,则列是主键或多列主键中的列之一。 如果键是UNI,则该列是唯一索引的第一列。 如果键为MUL,则该列是非唯一索引的第一列,其中允许在列中多次出现给定值。 MySQL的三大范式 要求具有原子性、字段不可在被分割。 必须满足第一范式的前提下,除了主键外,其它的字段都必须完全依 阅读全文
posted @ 2021-03-11 14:27 (Play) 阅读(63) 评论(0) 推荐(0)
摘要: mybatis foreach item与index 注意: index的确是从0开始的 index和item的区别 index代表每次循环的次数, 相当于for循环中的 i item代表每次循环的变量值, 相当于for循环中的 varList.get(i) 代码示例仅供参考【入参: [{"dept 阅读全文
posted @ 2021-03-09 10:47 (Play) 阅读(4222) 评论(0) 推荐(3)
摘要: 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) 阅读(2257) 评论(0) 推荐(0)
摘要: 报错原因: 对象在初始化时没有找到对应的构造方法, 从而导致对象初始化失败。 解决方法: 提供相应的构造方法即可, 如示例接口, 有两种处理方法。 方法一, 参数前加@RequestParam @GetMapping("sample") public void sample(@RequestPara 阅读全文
posted @ 2021-03-09 10:43 (Play) 阅读(292) 评论(0) 推荐(0)
摘要: Mybatis多对一【association】 多对一 /** * 添加部门实体字段 * 第一步:多方添加一方的实体类:com/hxh/basic/project/vo/UserVo.java:18 */ private GradeVo gradeVo; /*第二步:在一方Mapper中添加根据编号 阅读全文
posted @ 2021-03-09 09:42 (Play) 阅读(150) 评论(0) 推荐(0)
摘要: Dependencies - [依赖], Libraries - [库] IDEA中库和依赖的关系。 01 02 阅读全文
posted @ 2021-03-05 17:22 (Play) 阅读(143) 评论(0) 推荐(0)
摘要: 问题描述 问题描述:web开发中,在使用MySQL数据库时,有时候会遇到下面这样的警告描述,原因是当前版本的MySQL需要指明是否进行SSL连接。 警告提示:WARN: Establishing SSL connection without server's identity verificatio 阅读全文
posted @ 2021-03-04 16:52 (Play) 阅读(1343) 评论(0) 推荐(0)
摘要: 常用命令 001 查看为提交的 git status 添加单个文件到暂存区 git add 路径 提交所有的 git add . 查看提交本地的日志 git log 附加命令 git branch -av 查看所有的分支 *代表正在使用的分支 HEAD → codemap[查看正在使用的分支] gi 阅读全文
posted @ 2021-03-04 16:17 (Play) 阅读(61) 评论(0) 推荐(0)
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 34 下一页