lichunlei 1 year ago
parent
commit
c69ec3652d

+ 1 - 3
src/main/java/com/kxs/adminap/controller/TestController.java

@@ -1,9 +1,7 @@
 package com.kxs.adminap.controller;
 
-import java.text.DateFormat;
 import java.text.ParseException;
 import java.text.SimpleDateFormat;
-import java.util.Date;
 import java.util.Dictionary;
 import java.util.List;
 
@@ -14,7 +12,7 @@ import org.springframework.web.bind.annotation.RestController;
 
 import com.kxs.adminap.dao.TestTablerepository;
 import com.kxs.adminap.enity.TestTable;
-import com.kxs.adminap.util.DbConn;
+import com.kxs.adminap.service.DbConn;
 import com.kxs.adminap.util.RedisUtils;
 
 import jakarta.annotation.Resource;

+ 1 - 1
src/main/java/com/kxs/adminap/util/DbConn.java → src/main/java/com/kxs/adminap/service/DbConn.java

@@ -1,4 +1,4 @@
-package com.kxs.adminap.util;
+package com.kxs.adminap.service;
 
 import java.sql.Connection;
 import java.sql.DriverManager;