
复制// 使用Fluent MyBatis构造查询语句mapper.listMaps(new StudentScoreQuery()    .select    .schoolTerm()    .subject()    .count.score("count")    .min.score("min_score")    .max.score("max_score")    .avg.score("avg_score")    .end()    .where.schoolTerm().ge(2000)    .and.subject.in(new String[]{"英语",更顺
 "数学", "语文"})    .and.score().ge(60)    .and.isDeleted().isFalse()    .end()    .groupBy.schoolTerm().subject().end()    .having.count.score.gt(1).end()    .orderBy.schoolTerm().asc().subject().asc().end());             1.      
作者:应用开发