Changes between Version 23 and Version 24 of Ticket #130


Ignore:
Timestamp:
11/27/2012 06:13:46 PM (13 years ago)
Author:
chenchongqi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #130 – Description

    v23 v24  
    6363}}} 
    6464 
    65 * 不需要眼花缭乱地传参数,不需要每个参数判断是否存在。。。 
     65* 不需要眼花缭乱地传参数,各种条件自由组合,处理的时候不需要每个参数判断是否存在。。。 
    6666{{{ 
    6767ProductTypeSqlBuilder productTypeSqlBuilder = new ProductTypeSqlBuilder(); 
    6868 
    69 productTypeSqlBuilder.setBrand(123).setSmallType(456) 
    70   .orderByLastCount().page(0,100); 
     69productTypeSqlBuilder 
     70  .setBrand(123) 
     71  .setSmallType(456) 
     72  .allPriceBetween(1000, 2000) 
     73  .orderByLastCount() 
     74  .page(0,100); 
    7175 
    7276long[] productIds = execQuery(productTypeSqlBuilder.getSqlBuilder().getSql,