|
@@ -366,7 +366,9 @@ public class ExamStudentController extends BaseParameterController {
|
|
|
ExamStudent student = studentService.findById(id);
|
|
|
student.setBreach(false);
|
|
|
try {
|
|
|
- saveMarkLibrary(student);
|
|
|
+ if(student.isUpload()){//上传的状态才去优化m_library
|
|
|
+ saveMarkLibrary(student);
|
|
|
+ }
|
|
|
student = studentService.save(student);
|
|
|
if (student != null) {
|
|
|
result.accumulate("message", "重置成功!");
|