if 标签 字符串和数字比较,要把数字进行toString() 转成字符串
<if test="settlementParam.searchType == '1'.toString()">
and (oneDealerName like concat('%', #{settlementParam.searchName}, '%') or twoDealerName like concat('%', #{settlementParam.searchName}, '%'))
</if>