JAvaパッチ複数sql


   /**
     *       
     *     id        
     * @TODO   
     *getStudents
     */
    @AutoLog(value = "      ")
    @ApiOperation(value="      ", notes="      ")
    @GetMapping(value = "/getStudentInfo")
//    @RequiresPermissions("stStudent:getStStudent")
    public Result<?> getStudentInfo(@RequestParam(required = true) String stuId,
                               HttpServletRequest req) {
        StStudent stStudent = stStudentService.getStudent(stuId);
        List<StatisticsVo> stStateJilu = stStateJiluService.getFrequency(stuId);
        List<StatisticsVo> stSanctions = stPunishService.getSanctions(stuId);
      Result result=new Result();
        Map<String,Object> nationCou=new HashMap<>();
       nationCou.put("stuInfo",stStudent);
       nationCou.put("cou",stStateJilu.get(0).getCou());
       nationCou.put("cou1",stSanctions.get(0).getCou());
        result.setResult(nationCou);
        return result;
    }