List userProcessedCountCol = new ArrayList();
while (iResultSet1.next()) {
afRealTimeIssuance afRealTimeIssuance = new afRealTimeIssuance();
Integer i = 0;
afRealTimeIssuance.setSub_channel(iResultSet1.getString(++i));
afRealTimeIssuance.setAgent_names(iResultSet1.getString(++i));
afRealTimeIssuance.setFtd(iResultSet1.getDouble(++i));
afRealTimeIssuance.setMtd(iResultSet1.getDouble(++i));
afRealTimeIssuance.setQtd(iResultSet1.getDouble(++i));
userProcessedCountCol.add(afRealTimeIssuance);
}
afRealTimeIssuance 在哪里 ActionForm
使用上面的代码片段,我得到如下输出
1 A 100
2 B 200
3 C 300
4 D 400
但我想将输出重新排列为
2 B 200
4 D 400
3 C 300
1 A 100
简而言之,我想根据需要重新排列行。如何根据一个特定值排列结果集数据。请指导