org.zodiac.mybatisplus.extension.group.MyBatisPlusPluginEntityAliasesGroup Maven / Gradle / Ivy
package org.zodiac.mybatisplus.extension.group;
import org.zodiac.mybatis.extension.group.PluginEntityAliasesGroup;
import org.zodiac.mybatisplus.extension.SpringBootMybatisPlusConfig;
import org.zodiac.plugin.realize.BasePlugin;
public class MyBatisPlusPluginEntityAliasesGroup extends PluginEntityAliasesGroup {
public MyBatisPlusPluginEntityAliasesGroup() {}
@Override
public void initialize(BasePlugin basePlugin) {
if (basePlugin instanceof SpringBootMybatisPlusConfig) {
SpringBootMybatisPlusConfig mybatisPlusConfig = (SpringBootMybatisPlusConfig)basePlugin;
setTypeAliasesPackage(null);
}
}
}