MyBatisCodeHelper-Pro icon indicating copy to clipboard operation
MyBatisCodeHelper-Pro copied to clipboard

对columnPrefix的支持不完整

Open yhl452493373 opened this issue 2 years ago • 2 comments

如第一张图的写法,assocation或collection等标签可以通过配置columnPrefix属性来指定该属性开头的字段都赋到assocation或collection对应对象上去,但是插件检测时idea提示selected column not found in resultMap or resultType。在assocation或collection下,手动配置每个column的名称,在其上面加上字段前缀就没有警告提示了(如第二张图)。二者都能达到同样效果,但是明显第一张图更方便点。

image image

yhl452493373 avatar Oct 19 '23 03:10 yhl452493373

谢谢反馈 我加个兼容

gejun123456 avatar Oct 25 '23 03:10 gejun123456

群文件已修复

gejun123456 avatar Oct 27 '23 02:10 gejun123456