queryList增加 @DS注解

This commit is contained in:
xiang2lin 2025-04-28 14:19:39 +08:00
parent cd82812db7
commit 36eeec00aa
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ public abstract class MybatisGenericDao<E extends Serializable, PK extends Seria
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);