From 9310b45ec2b53bae9814e9871b5e31feddb18e7d Mon Sep 17 00:00:00 2001
From: wuzeyu <1223318623@qq.com>
Date: 星期二, 21 五月 2024 10:56:54 +0800
Subject: [PATCH] 田间灌溉项目管理 灌溉单元模块实现接口(创建灌溉单元、删除灌溉单元、批量删除、修改灌溉单元、查一个灌溉单元、分页查灌溉单元)
---
pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/PipIrrMwTestWebApplication.java | 17 ++++-------------
1 files changed, 4 insertions(+), 13 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 699ac63..395a6ad 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,7 +1,7 @@
package com.dy.pipIrrMwTestWeb;
import com.dy.common.webUtil.BaseResponse;
-import com.dy.pipIrrMwTestWeb.test.Command;
+import com.dy.pipIrrMwTestWeb.test.CommandCtrl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
@@ -28,22 +28,13 @@
})
}
)
-public class PipIrrMwTestWebApplication implements CommandLineRunner {
+public class PipIrrMwTestWebApplication{
@Autowired
- private Command 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