Przeglądaj źródła

图斑检查工具BS版

liyatao 7 miesięcy temu
rodzic
commit
bf0fd2dcb9

+ 1 - 0
onemap-modules/onemap-overlap/src/main/java/com/onemap/overlap/controller/OverlapController.java

@@ -15,6 +15,7 @@ import java.io.IOException;
 public class OverlapController extends BaseController {
     @Autowired
     private SQLiteService sqliteService;
+
     @PostMapping("/overlapAnalysis")
     public RequestResult overlapAnalysis() throws IOException {
         sqliteService.overlapAnalysis();

+ 6 - 3
onemap-modules/onemap-overlap/src/main/java/com/onemap/overlap/service/impl/SQLiteImp.java

@@ -4,17 +4,20 @@ import com.onemap.overlap.service.SQLiteService;
 import org.springframework.beans.factory.annotation.Value;
 import org.springframework.jdbc.core.RowMapper;
 import org.springframework.stereotype.Service;
+
 import java.nio.file.Path;
 import java.nio.file.Paths;
 import java.sql.*;
+
 import com.onemap.overlap.service.impl.SQLiteHelper;
 
 @Service
-public class SQLiteImp implements SQLiteService{
+public class SQLiteImp implements SQLiteService {
     @Value("${spatialite.filepath}")
     String filepath;
+
     @Override
-    public void overlapAnalysis(){
+    public void overlapAnalysis() {
         Connection connection = null;
         Statement statement = null;
         try {
@@ -59,5 +62,5 @@ public class SQLiteImp implements SQLiteService{
             }
         }
 
-   }
+    }
 }