From 26d63d120e517624be6fcf70ae9620c3582a91dd Mon Sep 17 00:00:00 2001 From: Administrator <zhubaomin> Date: 星期二, 18 六月 2024 17:35:06 +0800 Subject: [PATCH] 2024-06-18 朱宝民 优化开关阀逻辑 --- pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/PipIrrMwTestWebApplication.java | 19 ++++--------------- 1 files changed, 4 insertions(+), 15 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/PipIrrMwTestWebApplication.java b/pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/PipIrrMwTestWebApplication.java index e5d60fd..5567368 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/PipIrrMwTestWebApplication.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/PipIrrMwTestWebApplication.java @@ -1,9 +1,7 @@ package com.dy.pipIrrMwTestWeb; -import com.dy.common.webUtil.BaseResponse; -import com.dy.pipIrrMwTestWeb.test.Test; +import com.dy.pipIrrMwTestWeb.test.CommandP206V202404Ctrl; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; @@ -28,22 +26,13 @@ }) } ) -public class PipIrrMwTestWebApplication implements CommandLineRunner { +public class PipIrrMwTestWebApplication{ @Autowired - private Test test ; + private CommandP206V202404Ctrl test ; public static void main(String[] args) { SpringApplication.run(PipIrrMwTestWebApplication.class, args); } - /** - * Spring瀹瑰櫒鍚姩瀹屾垚鍚庯紝鎵ц涓嬮潰鏂规硶 - * @param args 鍙傛暟 - * @throws Exception 寮傚父 - */ - @Override - public void run(String... args) throws Exception { - BaseResponse res = test.test() ; - System.out.println(res.toString()); - } + } -- Gitblit v1.8.0