添加连接数据池和任务sql查询数量

master
lwj 2024-09-08 03:03:44 +08:00
parent dc6dcfb86f
commit 245da3bb79
1 changed files with 1 additions and 0 deletions

View File

@ -222,6 +222,7 @@ public class DataValueServiceImpl implements DataValueService {
// 构造完整的SQL语句
String sql = "INSERT INTO " + tableName + " " + columns.toString() + " " + placeholders.toString();
log.info("添加sql语句{},",sql);
// 如果有旧的预编译语句,先关闭它
if (pstmt != null) pstmt.close();