给MyBatis的sql传递枚举变量

以传入枚举作为if条件为例:
外层对象:dto
枚举类:TypeEnum

<if test = "dto.typeEnum != @com.yang.enumate.TypeEnum.FIRST">
原文地址:https://www.cnblogs.com/JaxYoun/p/14264640.html