add mybatis config and code