Commit a1511200 authored by licc's avatar licc

优化查询方案2

parent d2f1a65d
......@@ -250,15 +250,15 @@ public class SchemeServiceImpl extends ServiceImpl<SchemeMapper, SchemeInfo> imp
return R.ok(volunteerVo);
}
// //6保存用户方案记录、志愿之间的关联关系,扣减查询次数
// R<Integer> bool = volunteerManager.saveUserVolunteer(user, list, scoreInfo, queryVo.getBigMajorNames());
// if (null != bool && bool.getCode() == 500) {
// return R.error(bool.getMessage());
// }
//6保存用户方案记录、志愿之间的关联关系,扣减查询次数
R<Integer> bool = volunteerManager.saveUserVolunteer(user, list, scoreInfo, queryVo.getBigMajorNames());
if (null != bool && bool.getCode() == 500) {
return R.error(bool.getMessage());
}
volunteerVo.setUserId(user.getId());
// assert bool != null;
// volunteerVo.setRecordId(bool.getData());
assert bool != null;
volunteerVo.setRecordId(bool.getData());
//设置查询时间
SetQueryTime(list);
......
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