如果是判空直接就是
<if test="ruleType != null and ruleType != ''">如果是判断等值就是
<if test='orgType == "D" or orgType == "M" or orgType =="Y" or orgType == "N"'> 需要注意,此处的引号,外面是单引号,里面判断的值是双引号,否则会报错