Modify mothed of isRepay in MessageTemplate.java