Browse Source

Merge branch 'dev' of http://121.42.53.174:3000/jiapeng/jFrameWork.git
into dev

jiapeng 8 years ago
parent
commit
e32ae14da6

+ 2 - 2
jfwAptOrm/src/main/java/org/jfw/apt/orm/daoHandler/BasePageQueryHandler.java

@ -214,7 +214,7 @@ public abstract class BasePageQueryHandler extends BaseQueryHandler {
214 214
			}
215 215
			doAfterWhereForFirstPage();
216 216
			if (this.orderBy != null) {
217
				cw.bL("sql = sql + ").w("\"").ws(this.orderBy).el("\";");
217
				cw.bL("sql = sql + ").w("\" ").ws(this.orderBy).el("\";");
218 218
				;
219 219
			}
220 220
		}
@ -264,7 +264,7 @@ public abstract class BasePageQueryHandler extends BaseQueryHandler {
264 264
			}
265 265
			doAfterWhereForNotFirstPage();
266 266
			if (this.orderBy != null) {
267
				cw.bL("sql = sql + ").w("\"").ws(this.orderBy).el("\";");
267
				cw.bL("sql = sql + ").w("\" ").ws(this.orderBy).el("\";");
268 268
				;
269 269
			}
270 270
		}