| | |
| | | return R.status(examScoreService.updateById(examScore)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 缺考标记修改 |
| | | * |
| | | * @param examScore 考试成绩信息对象 |
| | | */ |
| | | @PostMapping("/updateAbsent") |
| | | public R updateAbsent(@RequestBody ExamScore examScore) { |
| | | examScore.setQualified(3); |
| | | boolean status = examScoreService.updateByIdAndQualifiee(examScore); |
| | | |
| | | //内网数据推送 |
| | | String s1 = |
| | | "update exam_score set qualified = " + "'" + examScore.getQualified() + "'" + |
| | | " " + "where id = " + "'" + examScore.getId() + "'"; |
| | | FtpUtil.sqlFileUpload(s1); |
| | | return R.status(status); |
| | | } |
| | | |
| | | /** |
| | | * 修改总成绩 |
| | | * |