解决办法,采用转义字符;
> 大于 转义 >
< 小于 转义 <
& 和 转义 &
' 单引号 转义 '
" 双引号 转义 "
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}
网友评论