当使用<if test="">时,sort.contains(';')会识别';'为character字符,此时sort是字符串,会报错;
正确的写法如下:
<if test='sort !=null and sort !="" and !sort.contains(";")'>
当使用<if test="">时,sort.contains(';')会识别';'为character字符,此时sort是字符串,会报错;
正确的写法如下:
<if test='sort !=null and sort !="" and !sort.contains(";")'>