解决方法
出现这个原因,是我们之前用过一个插件——mybatis-plugn!!!
选择关闭该插件,一切正常!

更多推荐

idea写sql的xml中,使用映射时property字段报红提示Inspection info:Under construction