| | |
| | | @ComponentScan(basePackages = {"com.dy.common", "com.dy.pipIrrGlobal", "com.dy.pipIrrMwTestWeb"}, |
| | | excludeFilters = { |
| | | @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = { |
| | | com.dy.common.apiDoc.SpringApiConfig.class //一种排除类的方式 |
| | | //一种排除类的方式 |
| | | com.dy.common.apiDoc.SpringApiConfig.class, |
| | | com.dy.pipIrrGlobal.config.DingTalk.class |
| | | }), |
| | | @ComponentScan.Filter(type = FilterType.REGEX, pattern = { |
| | | //二种排除类的方式,写正则表达式,需要对目标类的完全限定名完全匹配,否则不生效 |
| | |
| | | } |
| | | ) |
| | | public class PipIrrMwTestWebApplication{ |
| | | |
| | | @Autowired |
| | | private CommandP206V202404Ctrl test ; |
| | | |
| | | public static void main(String[] args) { |
| | | SpringApplication.run(PipIrrMwTestWebApplication.class, args); |