Skip to content

Commit f45314e

Browse files
committed
解决拦截器顺序错误的问题
1 parent ec3fc30 commit f45314e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/main/resources/applicationContext.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@
3434
<property name="typeAliasesPackage" value="com.isea533.mybatis.model"/>
3535
<property name="plugins">
3636
<array>
37-
<bean class="com.github.abel533.mapperhelper.MapperInterceptor">
37+
<bean class="com.github.pagehelper.PageHelper">
3838
<property name="properties">
3939
<value>
40-
mappers=com.github.abel533.mapper.Mapper
41-
IDENTITY=MYSQL
42-
notEmpty=true
40+
dialect=hsqldb
41+
reasonable=true
4342
</value>
4443
</property>
4544
</bean>
46-
<bean class="com.github.pagehelper.PageHelper">
45+
<bean class="com.github.abel533.mapperhelper.MapperInterceptor">
4746
<property name="properties">
4847
<value>
49-
dialect=hsqldb
50-
reasonable=true
48+
mappers=com.github.abel533.mapper.Mapper
49+
IDENTITY=MYSQL
50+
notEmpty=true
5151
</value>
5252
</property>
5353
</bean>

0 commit comments

Comments
 (0)