68697071727374757677
} throw new DaoException(e); } } }; ing.doLoop(rs, sql.getContext()); return ing.getList(); } }
18192021222324252627
protected boolean createObject(int index, ResultSet rs, SqlContext context, int rowCount) { list.add(entity.getObject(rs, context.getFieldMatcher())); return true; } }; ing.doLoop(rs, context); return ing.getList(); } }
17181920212223242526
protected boolean createObject(int index, ResultSet rs, SqlContext context, int rowCout) { list.add(Record.create(rs)); return true; } }; ing.doLoop(rs, sql.getContext()); return ing.getList(); } }
4142434445464748495051
// 循环开始 if (each instanceof Loop) if (!((Loop<?>) each).begin()) return 0; // 循环中 ing.doLoop(rs, pojo.getContext()); // 循环结束 if (each instanceof Loop) ((Loop<?>) each).end(); }
4546474849505152535455
16171819202122232425
protected boolean createObject(int index, ResultSet rs, SqlContext context, int rowCount) { list.add(pojo.getEntity().getObject(rs, context.getFieldMatcher())); return true; } }; ing.doLoop(rs, pojo.getContext()); return ing.getList(); } }
protected boolean createObject(int index, ResultSet rs, SqlContext context, int rowCount) { list.add(Record.create(rs)); return true; } }; ing.doLoop(rs, pojo.getContext()); return ing.getList(); } }