|
@@ -0,0 +1,30 @@
|
|
|
+package com.citygis.controller;
|
|
|
+
|
|
|
+import com.citygis.service.BigDataService;
|
|
|
+import org.springframework.web.bind.annotation.CrossOrigin;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import javax.annotation.Resource;
|
|
|
+import java.sql.SQLException;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @Package com.citygis.controller
|
|
|
+ * @Author zyl
|
|
|
+ * @Date 2024/3/8 0008 20:43
|
|
|
+ * @description: 测试
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@CrossOrigin
|
|
|
+public class testController {
|
|
|
+
|
|
|
+ @Resource
|
|
|
+ BigDataService bigDataService;
|
|
|
+
|
|
|
+
|
|
|
+ @RequestMapping("/test")
|
|
|
+ public void testSqlServer() throws SQLException, ClassNotFoundException {
|
|
|
+ bigDataService.testSqlserver();
|
|
|
+ }
|
|
|
+
|
|
|
+}
|