Parsing error was found in mapping #{}. Check syntax #{property|(expression), var1=value1, var2=val)

网上说,要检查#{}内容是否为空,我又看报错说是DishMapper.xml有问题,于是我去xml里找了很久很久也没解决。最后我回到mapper一看,真相大白。

Parsing error was found in mapping #{}. Check syntax #{property|(expression), var1=value1, var2=val)_第1张图片被自己蠢到了,看了半天才想到回到mapper里看一下注解。积累开发经验了!!!

你可能感兴趣的:(mybatis,springboot)