added spring-data support. modify config mybatis.