Administrator
2021-08-27 18464ca2adbfc5e4e0f4c111be78a29658d96e3d
src/main/java/org/springblade/modules/exam/controller/ExamScoreController.java
@@ -167,8 +167,8 @@
            examScore.setAllGrade(Math.round((examScore.getLearnGrade() + examScore1.getTheoryGrade()) / 2));
         }
         if (user.getAge()>50) {
            examScore.setAllGrade(Integer.parseInt(String.valueOf(Math.round(examScore1.getTheoryGrade()*0.3)))
               + Integer.parseInt(String.valueOf(Math.round(examScore1.getLearnGrade()*0.7))));
            examScore.setAllGrade(Integer.parseInt(String.valueOf(Math.round(examScore1.getTheoryGrade()*0.5)))
               + Integer.parseInt(String.valueOf(Math.round(examScore1.getLearnGrade()*0.5))));
         }
      }
      //内网同步
@@ -265,7 +265,7 @@
    */
   @GetMapping("score-statistics")
   @ApiOperation(value = "分数统计")
   public R<List> scoreStatistics(HttpServletResponse response) {
      return R.data(examScoreService.scoreStatistics());
   public R<List> scoreStatistics(HttpServletResponse response,String deptid,String jurisdiction) {
      return R.data(examScoreService.scoreStatistics(deptid,jurisdiction));
   }
}