【Mybatis-Plus】使用updateById()、update()将字段更新为null或者空
摘要:参考 https://blog.csdn.net/weixin_41544866/article/details/119738605
阅读全文
posted @
2022-12-07 10:26
1161588342
阅读(62)
推荐(0) 编辑
mybaits-plus 部分注解说明
摘要:参考: https://blog.csdn.net/qq_45684867/article/details/123951309
阅读全文
posted @
2022-10-19 16:19
1161588342
阅读(17)
推荐(0) 编辑
baodoumi yml配置
摘要:上次因为自增,发现配置没生效, 修改后如下 # 配置mybatis-plus, 参考:com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties mybatis-plus: # 扫描mapper, 默认:classpath*:/mappe
阅读全文
posted @
2022-10-19 12:14
1161588342
阅读(36)
推荐(0) 编辑
baodoumi mybaitplus自增很大问题
摘要:参考: https://blog.csdn.net/u012019209/article/details/124585933 @TableId(type = IdType.AUTO) private Long id; 查看源码, 默认用的雪花算法,所以很大,改为 AUTO正常
阅读全文
posted @
2022-10-19 11:34
1161588342
阅读(25)
推荐(0) 编辑
Java8 对时间的支持
摘要:对于Mybatis 3.4版本以上新增如下依赖 <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis-typehandlers-jsr310</artifactId> <version>1.0.2</version> </de
阅读全文
posted @
2020-04-24 09:34
1161588342
阅读(232)
推荐(0) 编辑
MyBatis Wrapper 用法小计
摘要:参考地址: https://blog.csdn.net/m0_37034294/article/details/82917234
阅读全文
posted @
2020-04-20 16:01
1161588342
阅读(833)
推荐(0) 编辑
MyBait 符号大于 小于理解
摘要:EQ 就是 EQUAL等于 NQ 就是 NOT EQUAL不等于GT 就是 GREATER THAN大于 LT 就是 LESS THAN小于 GE 就是 GREATER THAN OR EQUAL 大于等于 LE 就是 LESS THAN OR EQUAL 小于等于 第一种写法(1): 原符号 >= & ' " 替换符号 ...
阅读全文
posted @
2018-06-12 16:10
1161588342
阅读(1056)
推荐(0) 编辑
Mybaits 插入数据返回主键ID
摘要:https://www.cnblogs.com/fsjohnhuang/p/4078659.html
阅读全文
posted @
2018-06-06 11:01
1161588342
阅读(131)
推荐(0) 编辑
Mybait 快速生成Java POJO文件 及数据库Mapping文件。
摘要:https://github.com/zouzg/mybatis-generator-gui
阅读全文
posted @
2018-04-24 15:34
1161588342
阅读(129)
推荐(0) 编辑
mybatis 常用jdbcType数据类型
摘要:来自 : http://blog.csdn.net/paincupid/article/details/50922981
阅读全文
posted @
2018-01-04 18:11
1161588342
阅读(127)
推荐(0) 编辑