我有以下 Grails withCriteria 结构:
allInfo = Scholarship.withCriteria {
between('gpa', '0', gpa)
grades {
idEq year
}
scholarshipCounties {
eq('county.id', county)
}
majors {
idEq major
}
activities {
idEq activity
}
eq('specialTypeInd', special)
}
我希望这能按(gpa 和成绩和专业)或奖学金县或活动或 specialTypeInd 返回奖学金。