随笔分类 - Mybatis
摘要:基础环境 springboot 2.5.3 mysql 8.0.22 fastjson2 2.0.38 主要配置 1. 返回VO字段添加注解 @ApiModelProperty("字段内容") @TableField(typeHandler = JacksonTypeHandler.class) p
阅读全文
摘要:## 问题1 ### 环境 springboot+mybatis-plus 在controller层一个request中有多个service调用保存接口,发现在mapper层上定义的@DS注解指定数据源部分指向了primary数据源。导致表找不到。 ### 处理 猜测是不能走mybatis-plus
阅读全文