解決辦法,采用轉(zhuǎn)義字符;
> 大于 轉(zhuǎn)義 >
<?小于 轉(zhuǎn)義?<
& 和 轉(zhuǎn)義 &
' 單引號(hào) 轉(zhuǎn)義 '
" 雙引號(hào) 轉(zhuǎn)義 "
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}