增加@ds注解

This commit is contained in:
xiang2lin 2025-05-16 13:32:22 +08:00
parent 35af8998d9
commit b1cafdc811
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ public abstract class BaseService<E extends Serializable, PK extends Serializabl
}
@Override
@DS("#o.dataSourceCode")
public E queryOne(E o) {
List tempList = this.dao.query(o);
if ((tempList != null) && (tempList.size() > 0)) {