添加连接数据池和任务sql查询数量
parent
dc6dcfb86f
commit
245da3bb79
|
@ -222,6 +222,7 @@ public class DataValueServiceImpl implements DataValueService {
|
||||||
|
|
||||||
// 构造完整的SQL语句
|
// 构造完整的SQL语句
|
||||||
String sql = "INSERT INTO " + tableName + " " + columns.toString() + " " + placeholders.toString();
|
String sql = "INSERT INTO " + tableName + " " + columns.toString() + " " + placeholders.toString();
|
||||||
|
log.info("添加sql语句{},",sql);
|
||||||
|
|
||||||
// 如果有旧的预编译语句,先关闭它
|
// 如果有旧的预编译语句,先关闭它
|
||||||
if (pstmt != null) pstmt.close();
|
if (pstmt != null) pstmt.close();
|
||||||
|
|
Loading…
Reference in New Issue