Browse Source

--update buildResult();

zzy.zhiyuan.foxmail 8 years ago
parent
commit
3b06e9297b

+ 1 - 1
jfwAptOrm/src/main/java/org/jfw/apt/orm/daoHandler/QueryValListHandler.java

@ -78,7 +78,7 @@ public class QueryValListHandler extends BaseQueryHandler {
78 78
	protected void buildResult() {
79 79
		cw.bL(LIST_PREFIX).w(this.returnClassName).w(LIST_SUFFIX).w(" _result = new java.util.ArrayList<")
80 80
				.w(this.returnClassName).el(">();");
81
		cw.l("while(rs.next(){");
81
		cw.l("while(rs.next()){");
82 82
83 83
			ColumnHandlerFactory.get(valColumn.getHandlerClass()).readValue(cw, "_result.add(", ");", 1,
84 84
					valColumn.isNullable());