mybatis书写mapper.xml文件无法写入<=,JDBC
2017-03-02 本文已影响0人
醉疯觞
解决办法,采用转义字符;
> 大于 转义 >
< 小于 转义 <
& 和 转义 &
' 单引号 转义 '
" 双引号 转义 "
select id as id,name as name,url as url,module as module,view as view from YYH_LINK where view=#{view} and admin <={admin}
select id as id,name as name,url as url,module as module,view as view from YYH_LINK where view=#{view} and admin <={admin}