各位大神,请问这样的sql 和语句
`key``name`contentcat_nametypeanswerspromptaveragecreate_timeccp_study_daily to_days`create_time`= to_daysnow`key` daily_key ccp_study_record user_key=`key``name`contentcat_nametypeanswerspromptaveragecreate_timeccp_study_daily to_days`create_time`= to_daysnow`key` daily_key ccp_study_record user_key=
还要这样的sql语句
startTimeendtTimesqlstartTimeendtTimecatCodesqlcatCodenamesqlname
怎样通过jfinal的page分页
项目:JFinal
sql+="and a.create_time between '"+startTime+"'and '" + endtTime+"'";
}
if(!StrUtil.isEmptyOrUndefined(catCode)){
sql+=" and a.cat_code in ("+catCode+")";
}
if(!StrUtil.isEmptyOrUndefined(name)){
sql+=" and b.user_name = '"+name+"'";
}