From aee3158d47cd5ffd258188a68233cf9c72a4274d Mon Sep 17 00:00:00 2001 From: wuzeyu <1223318623@qq.com> Date: 星期四, 23 五月 2024 15:18:00 +0800 Subject: [PATCH] 田间灌溉项目管理 轮灌组 实现获取未绑定轮灌组的灌溉单元id 接口 --- 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..4fb99e3 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.CommandCtrl; 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 CommandCtrl 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