class TService { static transactional = false; int run(def a, def b, Map rM) { (a.person.dateOfBirth?.getMonth()?:0)*100+(a.person.dateOfBirth?.getDate()?:0) <=> (b.person.dateOfBirth?.getMonth()?:0)*100+(b.person.dateOfBirth?.getDate()?:0) } }