新增退出时机表,完成投资报告页面接口

master
xiaoCJ 1 year ago
parent c69f37529f
commit 03e379b498

@ -53,7 +53,7 @@ public class TopicController {
@AnonymousAccess
public ResultEntity<Integer> getRandomTopic(@ApiParam("导入的文件") @RequestParam MultipartFile file,
@ApiParam("学校ID") @RequestParam String schoolId,
@ApiParam("知识测评题库,项目尽调题库,项目估值题库,IPO上市板块题目,IPO上市条件题目") @RequestParam String module) {
@ApiParam("知识测评题库,项目尽调题库,项目估值题库,上市板块相关题库,上市条件相关题库") @RequestParam String module) {
return new ResultEntity<Integer>(topicService.importFile(file, schoolId, module));
}
@ -110,7 +110,7 @@ public class TopicController {
/*
* @author xcj
* @Date 2023/11/21
* @Date 2023/11/21``
*/
@GetMapping("getAllScore")
@ApiOperation("页面回显得分通用接口")
@ -123,13 +123,13 @@ public class TopicController {
}
@GetMapping("getIPOTopicOne")
@ApiOperation("IPO弹窗1")
@AnonymousAccess
public ResultEntity<TopicsWithBLOBs> getIPOTopicOne() {
TopicsWithBLOBs topics = topicsMapper.selectByPrimaryKey(Constant.NINE);
return new ResultEntity<TopicsWithBLOBs>(topics);
}
// @GetMapping("getIPOTopicOne")
// @ApiOperation("IPO弹窗1")
// @AnonymousAccess
// public ResultEntity<TopicsWithBLOBs> getIPOTopicOne() {
// TopicsWithBLOBs topics = topicsMapper.selectByPrimaryKey(Constant.NINE);
// return new ResultEntity<TopicsWithBLOBs>(topics);
// }
@AnonymousAccess

@ -50,5 +50,5 @@ public class ClassAVGScoreVo {
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
@ApiModelProperty("最早得分日期")
private Date startTime;
private List<Date> startTime;
}

@ -65,13 +65,14 @@ public class ClassScoreServiceImpl implements ClassScoreService {
if (list.isEmpty()) {
continue;
}
TeaClassScore teaClassScore = list.get(0);
vo.setStartTime(teaClassScore.getStartTime());
List<BigDecimal> scoreList = new ArrayList();
List<Date> dateList = new ArrayList<>();
for (TeaClassScore classScore : list) {
scoreList.add(classScore.getClassAverageScore());
dateList.add(classScore.getStartTime());
}
vo.setClassAverageScore(scoreList);
vo.setStartTime(dateList);
voList.add(vo);
}
return voList;

Loading…
Cancel
Save