| | |
| | | if (null != examScore.getLearnGrade() && null != examScore.getTheoryGrade()) { |
| | | ExamScore examScore1 = examScoreService.getById(examScore.getId()); |
| | | //查询当前保安信息 |
| | | UserVO user = userService.getUserAgeById(Long.parseLong(examScore1.getUserId())); |
| | | UserVO user = userService.getUserAgeById(examScore1.getUserId()); |
| | | //再根据身份证号查询用户,方式用户考了试,被删除,又新建的情况,修改最新用户的状态信息 |
| | | User user1 = userService.getUserInfoByIdCardNo(user.getCardid()); |
| | | //考试合格 |
| | |
| | | */ |
| | | @PostMapping("/refreshTrainExamInfo") |
| | | public R refreshTrainExamInfo(@RequestBody UpdateParamVo updateParamVo) { |
| | | return R.status(examScoreService.refreshTrainExamInfo(updateParamVo)); |
| | | return R.data(examScoreService.refreshTrainExamInfo(updateParamVo)); |
| | | } |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取考试成绩列表 |
| | | * @param examScoreVO |
| | | * @return |
| | | */ |
| | | @GetMapping("/getList") |
| | | public R getList(ExamScoreVO examScoreVO) { |
| | | return R.data(examScoreService.getList(examScoreVO)); |
| | | } |
| | | |
| | | |
| | | } |