枚举参数使用
<!-- 直接比较枚举 --><if test="xxEnum = @xx.xx.XxEnum@FieldEnum"> ...</if><if test="dto.projectTypeEnum == @com.hbte.sharp.common.enums.projectEnum.ProjectTypeEnum@PROJECT"> <include refid="if_project_entity"/></if><if test="dto.projectTypeEnum == @com.hbte.sharp.common.enums.projectEnum.ProjectTypeEnum@TASK"> <include refid="if_project_task"/></if><!-- 比较枚举的值 --><if test="xxVal = @xx.xx.XxEnum@FieldEnum.getXxVal"> ...</if><if test="cityName == @com.weather.weatherexpert.common.utils.City@XINZHOU.getName"> and city_name=#{cityName}</if>