修改查询语句
parent
90b1cebf4f
commit
886e768c36
|
@ -129,10 +129,10 @@ public class MySqlDataSource extends BaseDataAbsSource {
|
|||
.build();
|
||||
map.put(i,build);
|
||||
|
||||
if (c <= one && i <= columnCount) {
|
||||
dataValues[c - 1][i - 1] = build;
|
||||
}
|
||||
// dataValues[c][i-1]=build;
|
||||
// if (c <= one && i <= columnCount) {
|
||||
// dataValues[c - 1][i - 1] = build;
|
||||
// }
|
||||
dataValues[c][i-1]=build;
|
||||
}else {
|
||||
|
||||
DataValue build = DataValue.builder()
|
||||
|
@ -141,16 +141,16 @@ public class MySqlDataSource extends BaseDataAbsSource {
|
|||
.value(resultSet.getObject(i, map.get(i).getType().getTargetType()))
|
||||
.type(map.get(i).getType())
|
||||
.build();
|
||||
// dataValues[c][i-1]=build;
|
||||
dataValues[c][i-1]=build;
|
||||
if (c <= one && i <= columnCount) {
|
||||
dataValues[c - 1][i - 1] = build;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (c <= one) {
|
||||
c++;
|
||||
}
|
||||
// if (c <= one) {
|
||||
// c++;
|
||||
// }
|
||||
c++;
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
throw new RuntimeException(e);
|
||||
|
|
Loading…
Reference in New Issue