TASK:mixi;
This commit is contained in:
@@ -867,11 +867,11 @@ public class TProductService extends ServiceImpl<TProductMapper, TProduct> {
|
|||||||
Class.forName(JDBC_DRIVER);
|
Class.forName(JDBC_DRIVER);
|
||||||
|
|
||||||
// 打开一个连接
|
// 打开一个连接
|
||||||
log.info("连接数据库...");
|
// log.info("连接数据库...");
|
||||||
conn = DriverManager.getConnection(DB_URL, USER, PASS);
|
conn = DriverManager.getConnection(DB_URL, USER, PASS);
|
||||||
|
|
||||||
// 执行查询
|
// 执行查询
|
||||||
log.info("创建声明...");
|
// log.info("创建声明...");
|
||||||
stmt = conn.createStatement();
|
stmt = conn.createStatement();
|
||||||
String sql;
|
String sql;
|
||||||
|
|
||||||
@@ -921,7 +921,7 @@ public class TProductService extends ServiceImpl<TProductMapper, TProduct> {
|
|||||||
se.printStackTrace();
|
se.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
System.out.println("mi-tu商品查询执行完成!");
|
// System.out.println("mi-tu商品查询执行完成!");
|
||||||
return miTuProductStockList;
|
return miTuProductStockList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user