pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/PipIrrMwRtuApplication.java
File was renamed from pipIrr-platform/pipIrr-mw/pipIrr-mw-accept/src/main/java/com/dy/aceMw/PipIrrMwAcceptApplication.java
@@ -1,4 +1,4 @@
package com.dy.aceMw;
package com.dy.rtuMw;
import com.dy.common.multiDataSource.EnableMultiDataSource;
import org.mybatis.spring.annotation.MapperScan;
@@ -14,16 +14,16 @@
@EnableAspectJAutoProxy
//@EnableAspectJAutoProxy(exposeProxy=true)//见https://blog.csdn.net/qq_32590703/article/details/109320381
@EnableMultiDataSource
@ComponentScan(basePackages = {"com.dy.common", "com.dy.pipIrrGlobal", "com.dy.aceMw"},
@ComponentScan(basePackages = {"com.dy.common", "com.dy.pipIrrGlobal", "com.dy.rtuMw"},
        excludeFilters = {@ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = {
                com.dy.common.apiDoc.SpringApiConfig.class
        }) })
//@ComponentScan(basePackages = {"com.dy.common", "com.dy.pipIrrGlobal", "com.dy.aceMw"})
//@ComponentScan(basePackages = {"com.dy.common", "com.dy.pipIrrGlobal", "com.dy.rtuMw"})
@MapperScan(basePackages={"com.dy.pipIrrGlobal"})
public class PipIrrMwAcceptApplication implements CommandLineRunner {
public class PipIrrMwRtuApplication implements CommandLineRunner {
    public static void main(String[] args) {
        SpringApplication.run(PipIrrMwAcceptApplication.class, args);
        SpringApplication.run(PipIrrMwRtuApplication.class, args);
    }
    /**
@@ -40,11 +40,11 @@
            e.printStackTrace();
        }
        finally {
            this.startAceSv() ;
            this.startMwSv() ;
        }
    }
    private void startAceSv(){
    private void startMwSv(){
        if(sv != null){
            sv.startServer();
        }