如果使用了AND, 会报错,只能使用and
<if test="applicantName !=null and applicantName != ''">
and `applicant_name` like CONCAT('%',#{applicantName},'%')
</if>
02-07
7669
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-31
431
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)