<if test="type!=null and type!=''">  
    AND type = #{type}  
</if>  

 

相关文章: