if (MapUtils.isEmpty(dsMap)) {
logger
.info(
"can't find routing rule for {} with parameter {}, so use default data source for it.",
statementName, entity);
mrbase.emit(getDefaultDataSourceName(), entity);
} else {
if (dsMap.size() > 1) {
throw new IllegalArgumentException(
"unexpected routing result, found more than 1 target data source for current entity:"
+ entity);