测试线程池
parent
92edeba812
commit
812c19109e
|
@ -263,9 +263,14 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, TaskInfo> implement
|
|||
log.info("sql{}", sql);
|
||||
log.info("数组为{},,{}", finalFirstArray, two);
|
||||
log.info("开始远调");
|
||||
mySqlDataSource.setQuery(MySqlQuery.builder().dataSourceId(databaseId).sql(sql).one(finalFirstArray).two(two).build());
|
||||
Object query = mySqlDataSource.getQuery();
|
||||
log.info("aaaaa",query);
|
||||
MySqlQuery mySqlQuery = new MySqlQuery();
|
||||
mySqlQuery.setDataSourceId(databaseId);
|
||||
mySqlQuery.setSql(sql);
|
||||
mySqlQuery.setOne(finalFirstArray);
|
||||
mySqlQuery.setTwo(two);
|
||||
mySqlDataSource.setQuery(mySqlQuery);
|
||||
MySqlQuery query = mySqlDataSource.getQuery();
|
||||
log.info("aaaaa",query.getSql());
|
||||
DataValue[][] dataValues = mySqlDataSource.getRows();
|
||||
log.info("okl");
|
||||
// Result<DataValue[][]> result = dataValueClient.findTableValueToArray(databaseId, sql, finalFirstArray, two);
|
||||
|
|
Loading…
Reference in New Issue