Mybatis-Plus3.2.0 MetaObjectHandler 无法进行公共字段全局填充
问题描述
最近在做的这个项目架构组对于配置文件决定,采取的是.xml配置文件
一个数据中台项目,因为部署环境比较复杂,可能需要适配阿里、腾讯、开源等环境和机房,所以配置文件和启动类为三类
之前写的MetaObjectHandler都是采用的SpringBoot配置方式开发,突然换成.xml配置文件,还是有不少坑的,其中就有配置的MetaObjectHandler死活不起作用⬆️
问题描述
最近在做的这个项目架构组对于配置文件决定,采取的是.xml配置文件
一个数据中台项目,因为部署环境比较复杂,可能需要适配阿里、腾讯、开源等环境和机房,所以配置文件和启动类为三类
之前写的MetaObjectHandler都是采用的SpringBoot配置方式开发,突然换成.xml配置文件,还是有不少坑的,其中就有配置的MetaObjectHandler死活不起作用⬆️