while (rs.next()) {
List<BizObject> boList = earBom.createQuery("select O.orig_asset_num from O").getResultList();
for(BizObject bo : boList) {
String exit_orig_asset_num = bo.getAttribute("orig_asset_num").getString();
if(orig_asset_num.equals(exit_orig_asset_num)) {
;
}
}
}
...全文
12999打赏收藏
while循环中嵌套for循环,再嵌套if判断,如果满足条件,如何跳过本次while循环
while (rs.next()) { List boList = earBom.createQuery("select O.orig_asset_num from O").getResultList(); for(BizObject bo : boList) { String exit_orig_asset_num = bo.getAttribute("orig_asset_num").getString(); if(orig_asset_num.equals(exit_