参考:
WorkBook5.cpt
where 1=1
${if(len(班级参数) == 0,"","and 班级字段 = '" +班级参数+ "'")}
${if(len(学号参数) == 0,"","and 学号字段 = '" +学号参数+ "'")}