增加ds注解
This commit is contained in:
parent
2baa228f10
commit
972f8189bb
|
@ -96,7 +96,7 @@ public abstract class MybatisGenericDao<E extends Serializable, PK extends Seria
|
||||||
public E query(E o, String stamentID) {
|
public E query(E o, String stamentID) {
|
||||||
return (E) this.sqlSession.selectOne(stamentID, o);
|
return (E) this.sqlSession.selectOne(stamentID, o);
|
||||||
}
|
}
|
||||||
|
@DS("#o.dataSourceCode")
|
||||||
@Override
|
@Override
|
||||||
public List<E> queryList(E o, String stamentID) {
|
public List<E> queryList(E o, String stamentID) {
|
||||||
List<E> tempList = this.sqlSession.selectList(stamentID, o);
|
List<E> tempList = this.sqlSession.selectList(stamentID, o);
|
||||||
|
|
Loading…
Reference in New Issue