Commit 5011ee91 authored by neo's avatar neo

[dev] config vat sqlFactoroyTemplate The same with admin

parent dc080ab6
...@@ -32,7 +32,7 @@ public class MybatisConfig implements InitializingBean { ...@@ -32,7 +32,7 @@ public class MybatisConfig implements InitializingBean {
MapperScannerConfigurer bean = new MapperScannerConfigurer(); MapperScannerConfigurer bean = new MapperScannerConfigurer();
bean.setMarkerInterface(MyVatMapper.class); bean.setMarkerInterface(MyVatMapper.class);
bean.setBasePackage(BASE_PACKAGE); bean.setBasePackage(BASE_PACKAGE);
bean.setSqlSessionTemplateBeanName("dynamicSqlSessionTemplate"); bean.setSqlSessionTemplateBeanName("sqlSessionTemplate");
return bean; return bean;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment