rong.liu 4 years ago
commit 35f9322bb6
  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