Commit 63a32eb7 authored by Mindfaker's avatar Mindfaker

fix

parent 7a18ea14
......@@ -28,7 +28,7 @@ public class StudentPointService {
public Map selectPointByWeb( String studentName, String studentUniqueId, Integer classId, String startTime, String endTime, Integer page, Integer limit, String sort, String order) {
List<Map> dataList = specialSqlMapper.selectPoint(studentName, studentUniqueId, classId, startTime, endTime, page, limit, sort, order);
Map<String, String> countInfoData = specialSqlMapper.selectPointCount(studentName, studentUniqueId, classId, startTime, endTime);
Integer countInfo = StringUtils.isEmpty(countInfoData.get("count_info")) ? 0 : Integer.parseInt(countInfoData.get("count_info").toString());
Long countInfo = StringUtils.isEmpty(countInfoData.get("count_info")) ? 0L: Long.parseLong(countInfoData.get("count_info").toString());
List<Map> targetDataList = dataList.stream().map((Function<Map, Map>) Util::exchangeMapKeyName).collect(Collectors.toList());
return new HashMap() {{
put("items", targetDataList);
......
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