Commit dc3bab05 authored by licc's avatar licc

设置查询时间

parent aee1d2c6
......@@ -236,6 +236,8 @@ public class SchemeServiceImpl extends ServiceImpl<SchemeMapper, SchemeInfo> imp
result = list.subList(0, 10);
}
volunteerVo.setUserId(user.getId());
//设置查询时间
SetQueryTime(result);
volunteerVo.setVolunteers(result);
return R.ok(volunteerVo);
}
......@@ -256,6 +258,9 @@ public class SchemeServiceImpl extends ServiceImpl<SchemeMapper, SchemeInfo> imp
volunteerVo.setUserId(user.getId());
assert bool != null;
volunteerVo.setRecordId(bool.getData());
//设置查询时间
SetQueryTime(list);
volunteerVo.setVolunteers(list);
volunteerVo.setTotal(list.size());
return R.ok(volunteerVo);
......
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