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