| | |
| | | examScore.setAllGrade(Math.round(theoryGrade / 2)); |
| | | } |
| | | if (age>50) { |
| | | examScore.setAllGrade(Integer.parseInt(String.valueOf(Math.round(theoryGrade*0.3)))); |
| | | examScore.setAllGrade(Integer.parseInt(String.valueOf(Math.round(theoryGrade*0.5)))); |
| | | } |
| | | //设置状态 |
| | | if (theoryGrade>=60){ |
| | |
| | | examScore.setAllGrade(Math.round((examScore.getTheoryGrade()+examScoreExcel.getLearnGrade())/2)); |
| | | } |
| | | if (user.getAge()>50) { |
| | | examScore.setAllGrade(Integer.parseInt(String.valueOf(Math.round(examScore.getTheoryGrade()*0.3))) |
| | | + Integer.parseInt(String.valueOf(Math.round(examScoreExcel.getLearnGrade()*0.7)))); |
| | | examScore.setAllGrade(Integer.parseInt(String.valueOf(Math.round(examScore.getTheoryGrade()*0.5))) |
| | | + Integer.parseInt(String.valueOf(Math.round(examScoreExcel.getLearnGrade()*0.5)))); |
| | | } |
| | | |
| | | //内网同步 |
| | |
| | | public List<Map<String, Object>> scoreStatistics(String deptid,String jurisdiction) { |
| | | return baseMapper.scoreStatistics(deptid,jurisdiction); |
| | | } |
| | | @Override |
| | | public List<Map<String, Object>> scoreStatisticssc(String deptid,String jurisdiction) { |
| | | return baseMapper.scoreStatisticssc(deptid,jurisdiction); |
| | | } |
| | | } |