mybatis系列十二:动态sql的注解配置

  动态sql也能够采用注解来完成html 注解对应的sql类型以下所示java 一  先重点来关注查询,用注解进行动态sql查询有两种方式sql 用script标签包围,而后像xml语法同样书写 @Select({ "<script>", "select * From student where 1=1", "<when test='gender!=null'>", "and g
相关文章
相关标签/搜索