Add mybatis fucntion