摘要:
select concat('delete from ',table_name,';') from information_schema.tables where table_schema='jd_project_sector_test1' and Table_type='BASE TABLE' 其 阅读全文
摘要:
报错:Could not autowire. No beans of ‘UserMapper’ type found 原因是Dao为interface 无法通过@Bean加入到容器,也就无法通过@Autowired自动注入解决方法:Dao上加上@Repository 它用于将数据访问层 (DAO 层 阅读全文