这里是不是错了,应该是isEmpty吧

wind13
07-01-18 0 122

com.jdon.model.query.PageIteratorSolver 类中有多处如下的错误,我估计isEmail应该换成isEmpty,BanQ做一下替换吧:)

public PageIterator getDatas(String queryParam, String sqlqueryAllCount, String sqlquery, int start, int count) {
if (UtilValidate.isEmail(sqlqueryAllCount)){
logger.error(" the parameter sqlqueryAllCount is null");
return new PageIterator();
}
if (UtilValidate.isEmail(sqlquery)){
logger.error(
" the parameter sqlquery is null");
return new PageIterator();
}

Collection queryParams = new ArrayList();
if (!UtilValidate.isEmpty(queryParam))
queryParams.add(queryParam);
return getPageIterator(sqlqueryAllCount, sqlquery, queryParams, start, count);

}

[该贴被wind13于2007-01-18 17:34修改过]