会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zhanglw
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
26
下一页
2021年8月5日
mybatis-plus 代码生成器
摘要: <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.4.3</version> </dependency> <dependency> <g
阅读全文
posted @ 2021-08-05 16:34 zhanglw
阅读(486)
评论(1)
推荐(0)
2021年8月2日
mybatis 代码生成插件free-idea-mybatis、mybatisX
摘要: 1、free-idea-mybatis free-idea-mybatis是一款增强 idea 对mybatis支持的插件,主要功能如下: 生成mapper xml文件 快速从代码跳转到mapper及从mapper返回代码 mybatis自动补全及语法错误提示 集成mybatis generator
阅读全文
posted @ 2021-08-02 16:24 zhanglw
阅读(2446)
评论(0)
推荐(0)
mybatis 在springboot中的使用
摘要: ###1、pom文件 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <group
阅读全文
posted @ 2021-08-02 15:04 zhanglw
阅读(193)
评论(0)
推荐(0)
2021年7月30日
mybatis 日志
摘要: ###mybatis 日志: mybatis 内置了日志工厂类,内置的日志工厂将日志输出交给以下其中一种工具作代理: SLF4J Apache Commons Logging Log4j 2 Log4j JDK logging mybatis 内置日志工厂基于运行时自省机制选择合适的日志工具。它会使
阅读全文
posted @ 2021-07-30 11:33 zhanglw
阅读(209)
评论(0)
推荐(0)
2021年7月29日
mybatis 缓存
摘要: https://mybatis.org/mybatis-3/zh/sqlmap-xml.html#cache https://www.cnblogs.com/wuzhenzhao/p/11103043.html
阅读全文
posted @ 2021-07-29 10:03 zhanglw
阅读(25)
评论(0)
推荐(0)
2021年7月27日
MongoDB 的 默认主键 _id-ObjectId
摘要: ###ObjectId 在插入数据时,mongoDB 会自动生成"_id",默认生成的"_id"属于 ObjectId 对象,作用类似于身份证号用来标识每一条数据。 ObjectId("60f691e1904a142b6f1ed0d7") ObjectId 是一个12字节(16进制) BSON 类型
阅读全文
posted @ 2021-07-27 15:00 zhanglw
阅读(1812)
评论(0)
推荐(0)
2021年7月20日
springboot 属性文件中使用 pom文件 profile 参数
摘要: springboot可以从 pom 文件中获取参数,这样可以 在打包时,根据环境(开发、测试)指定参数,就不用再 运行jar 包再指定参数了。 最常用的就是,激活配置文件参数:spring.profiles.active=activeProperty 用法: 1)springboot 配置文件 #p
阅读全文
posted @ 2021-07-20 15:37 zhanglw
阅读(1395)
评论(0)
推荐(0)
2021年7月13日
linux centos CPU 信息
摘要: https://www.cnblogs.com/chenpython123/p/10516013.html # cpu 完整信息 cat /proc/cpuinfo # 查看物理CPU个数 (chip) # 物理cpu数:主板上实际插入的cpu数量,可以数不重复的 physical id 有几个(p
阅读全文
posted @ 2021-07-13 10:15 zhanglw
阅读(174)
评论(0)
推荐(0)
2021年7月9日
springboot 日志
摘要: https://www.cnblogs.com/sanye613/p/13345483.html https://www.cnblogs.com/huanzi-qch/p/11041300.html logback详解:https://blog.csdn.net/qq_36850813/articl
阅读全文
posted @ 2021-07-09 18:57 zhanglw
阅读(591)
评论(0)
推荐(0)
2021年7月8日
docker DockerFile 指令
摘要: https://docs.docker.com/engine/reference/builder/ FROM 定制的镜像都是基于 FROM 的镜像 FROM centos RUN 用于执行后面跟着的命令行命令 # 方式1 RUN <命令行命令> # 方式2 RUN ["可执行文件", "参数1",
阅读全文
posted @ 2021-07-08 19:16 zhanglw
阅读(75)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
26
下一页
公告