[service] alerts : enum comparisons not work with mybatis (it compares names instead of ordinals)