新增总成绩字段,以及部分接口

master
xiaoCJ 2 years ago
parent 326766d027
commit 4c84c51c59

@ -164,6 +164,8 @@ public class SysTrainingScoreServiceImpl implements ISysTrainingScoreService {
totalScore,
sysTrainingScore.getReportFilename()
);
sysTrainingScore.setTotalscore(totalScore);
trainingScoreMapper.updateByPrimaryKeySelective(sysTrainingScore);
reportDto.setUserId(user.getUserId());
reportDtoList.add(reportDto);
} else {
@ -203,6 +205,8 @@ public class SysTrainingScoreServiceImpl implements ISysTrainingScoreService {
totalScore,
sysTrainingScore.getReportFilename()
);
sysTrainingScore.setTotalscore(totalScore);
trainingScoreMapper.updateByPrimaryKeySelective(sysTrainingScore);
reportDto.setUserId(sysUser.getUserId());
reportDtoList.add(reportDto);
} else {

Loading…
Cancel
Save