修改测评通过需要80分

hehai
zhiyong.ning 4 years ago
parent 1a8abc96f8
commit 2a546d1fc7
  1. 4
      src/main/java/com/msdw/tms/controller/EvaluationRecordController.java

@ -134,7 +134,7 @@ public class EvaluationRecordController implements EvaluationRecordControllerApi
Integer id = fractionEntityService.queryScore(userId,type); Integer id = fractionEntityService.queryScore(userId,type);
if (id>0){ if (id>0){
Integer score = fractionEntityService.queryExerciseRecord(userId); Integer score = fractionEntityService.queryExerciseRecord(userId);
if (score>=60){ if (score>=80){
return R.ok("true"); return R.ok("true");
}else{ }else{
return R.error(200,"false"); return R.error(200,"false");
@ -152,7 +152,7 @@ public class EvaluationRecordController implements EvaluationRecordControllerApi
Integer id = fractionEntityService.queryScore(userId,type); Integer id = fractionEntityService.queryScore(userId,type);
if (id>0){ if (id>0){
Integer score = fractionEntityService.queryTeachingRecord(userId); Integer score = fractionEntityService.queryTeachingRecord(userId);
if (score>=60){ if (score>=80){
return R.ok("true"); return R.ok("true");
}else{ }else{
return R.error(200,"false"); return R.error(200,"false");

Loading…
Cancel
Save