Commit 4e289834 authored by liaoanyuan's avatar liaoanyuan

Merge remote-tracking branch 'origin/master'

parents 6deccbf5 28133348
......@@ -119,7 +119,7 @@
#{id}
</foreach>
</if>
order by lowest_mark desc
order by major_name,lowest_mark desc
limit #{number}
</where>
</select>
......
......@@ -241,11 +241,11 @@ public class SchemeServiceImpl extends ServiceImpl<SchemeMapper, SchemeInfo> imp
list = getVolunteerList(list, totalResult);
}
//6保存用户方案记录、志愿之间的关联关系,扣减查询次数
boolean bool = volunteerManager.saveUserVolunteer(user, list, scoreInfo, queryVo.getBigMajorNames());
if (!bool) {
return R.error("保存方案查询记录失败!");
}
// //6保存用户方案记录、志愿之间的关联关系,扣减查询次数
// boolean bool = volunteerManager.saveUserVolunteer(user, list, scoreInfo, queryVo.getBigMajorNames());
// if (!bool) {
// return R.error("保存方案查询记录失败!");
// }
//排序
list.sort(Comparator.comparing(Volunteer::getLowestMark).reversed());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment