baomidou/MybatisX

别名typeAliases仍然检查爆红,但不影响正常运行

daponi opened this issue · 0 comments

在mybatis配置文件中设置别名

<typeAliases>
        <typeAlias type="com.cds.www.pojo.Custom" alias="KTCustom"/>
<typeAliases>

在映射文件Custommapper.xml中的resultType直接引用KTCustom会红色提示“Cannot resolve symbol 'KTCustom' ”,
但不妨碍程序正常运行,停用插件没有爆红显示,大概是语法检查有问题?