-
想要执行的代码:
``` java
AccountDAO updateAccount = UpdateEntity.of(AccountDAO.class, info.getId());
updateAccount.setAge(info.getAge());
mapper.update(updateAccount); // 执行 里的
// updateById(updateA…
-
查看过文档看原因时因为QueryColumnBehavior 的默认设置QueryColumnBehavior.setIgnoreFunction(o -> o == null)就会忽略,但是在业务中涉及到需要传入null的情况。。目前使用修改setIgnoreFunction的方式仍然会报错提示
![image](https://github.com/mybatis-flex/mybatis-…
-
QueryWrapper query = hisMedItemService.query();
List list = hisMedItemService
.list(query.where(HisMedItemTableDef.HIS_MED_ITEM.E_INVOICE_ID.eq("id")));
System.out.p…
-
刚把个人博客从mybatisplus改成mybatisplex,运行报错,
报错:
`2023-08-05 00:40:37.482 - [http-nio-8001-exec-1] ERROR c.s.b.exception.MyExceptionHandler -
-
-
表里面有version字段,但是并未设置为乐观锁,然后执行update方法的时候SQL拼接有问题
SpringBoot: 2.2.8
Mybatis-Flex: 1.5.7
业务代码:
![image](https://github.com/mybatis-flex/mybatis-flex/assets/28799116/7ef290e7-80e0-4938-92dc-824f10b9b…
-
感觉这个还挺好用的
-
mybatis-flex.properties配置文件如下:
processor.tablesNameStyle=LowerCamelCase
processor.entity.ignoreSuffixes=Entity
-
### version
```
mybatis-flex version:1.3.0
mybatis-flex-codegen version:1.3.5
springboot verison:2.7.12
```
### The POM is as follows
```
com.mybatis-flex
mybatis-…
-
希望支持ActiveRecord模式