sqlMapper - mybatis直接执行sql语句工具类
springboot 配置类 以java类形式配置bean
@Bean
public SqlMapper sqlMapper(SqlSession sqlSession){
SqlMapper sqlMapper = new SqlMapper(sqlSession);
return sqlMapper;
}
sqlMapper - mybatis直接执行sql语句工具类
springboot 配置类 以java类形式配置bean
@Bean
public SqlMapper sqlMapper(SqlSession sqlSession){
SqlMapper sqlMapper = new SqlMapper(sqlSession);
return sqlMapper;
}
本文标题:springboot-mybatis-sqlMapper
本文链接:https://www.haomeiwen.com/subject/taaowxtx.html
网友评论