There is no getter for property named 'studentno ' in 'class java.lang.String'

来源:互联网 发布:忒修斯之船 知乎 编辑:程序博客网 时间:2024/06/15 02:30
当传入一个参数的时候需要在xml中写value 而不是参数名字
<where><if test="value != null and value != ''"> studentno LIKE CONCAT('%', #{value}, '%')</if></where>
这样就可以解决了
 
阅读全文
0 0