spring使用定时任务注解时找不到数据源

图片说明
图片说明图片说明[E.IWP.DATABASE.00008] Specified tenant database settings (null) does not ex
st.

--- The error occurred while executing query.

--- Check the select count(1)from order

--- Check the SQL Statement (preparation failed).

--- Cause: java.sql.SQLException: [E.IWP.DATABASE.00008] Specified tenant database settings (null) does not exist.
第一次提问,用没有分 跪求大家多看两眼 真的很困惑。

你的QueryDAOiBatisImpl呢?有没有给他注册?不然怎么注入