给MyBatis的sql传递枚举变量 以传入枚举作为if条件为例: 外层对象:dto 枚举类:TypeEnum <if test = "dto.typeEnum != @com.yang.enumate.TypeEnum.FIRST">