您的位置:首页 > 其它

mybites 大于 小于符号的情况

2015-09-28 11:17 225 查看
在写 mybites的xml文件时  

写到该处时:

<if test="thirdUserName < 3 and thirdUserName != '' " >

        and account like #{thirdUserName,jdbcType=VARCHAR}

</if>

xml文件提示:

The value of attribute "test" associated with an element type "if" must not contain the '<' character.错误

该错误表示 在该属性中不能包含"<"符号。

后经过查询资料得到:原来在xml中 不能使用 '>';'<'符号 要用'>';'<'代替;

资料地址:http://blog.163.com/zzf_fly/blog/static/209589158201382942849349/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: