nutzam/nutz — Issue #108: Cnd	.where(查询条件).orderBy()  后,查询条件不起作用
Author: ming300
Created: 2011-11-11 06:01:08+00:00
State: open

Condition condition = Cnd	.where("glbm", "=", glbm)
.and("zt", "=", "1")
.and("kskm", "=", kskm)
.asc("kscd");

得到的sql:
SELECT * FROM jax_yy_kscd_info WHERE glbm='220100000000' AND zt='1' AND kskm='1' ORDER BY kscd ASC

但是:
Condition condition = Cnd	.where("glbm", "=", glbm)
.and("zt", "=", "1")
.and("kskm", "=", kskm)
.orderBy()
.asc("kscd");

得到的sql:
SELECT * FROM jax_yy_kscd_info ORDER BY kscd ASC

是不是需要兼容一下呢?

nutz-1.b.40有这个问题,nutz-1.b.38也有同样问题