소스 검색

pagehelper代替mysql分页插件

shuzheng 9 년 전
부모
커밋
8c867427fb
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      zheng-common/src/main/resources/template/generatorConfig.vm

+ 2 - 2
zheng-common/src/main/resources/template/generatorConfig.vm

@@ -20,8 +20,8 @@
             <property name="suppressJavaInterface" value="false"/>
         </plugin>
 
-        <!-- 生成一个新的selectByExample方法,这个方法可以接收offset和limit参数,主要用来实现分页 -->
-        <plugin type="com.zheng.common.plugin.PaginationPlugin"></plugin>
+        <!-- 生成一个新的selectByExample方法,这个方法可以接收offset和limit参数,主要用来实现分页,只支持mysql(已使用pagehelper代替) -->
+        <!--<plugin type="com.zheng.common.plugin.PaginationPlugin"></plugin>-->
 
         <!-- 生成在XML中的<cache>元素 -->
         <plugin type="org.mybatis.generator.plugins.CachePlugin">