Updated code
This commit is contained in:
@@ -2569,7 +2569,7 @@ public class ApplicationEvaluationDao {
|
||||
public void processTechnicalEvaluation(Long applicationId, ApplicationEntity applicationEntity, ApplicationStatusForEvaluation status, ApplicationEvaluationEntity evaluationEntity){
|
||||
log.info("Starting process for checking scores for applicationId: {}", applicationId);
|
||||
String criteriaJson = evaluationEntity.getCriteria();
|
||||
if (criteriaJson != null){
|
||||
if (criteriaJson != null && applicationEntity.getCall().getThreshold()!=null ){
|
||||
BigDecimal totalScore = calculateTotalScore(evaluationEntity.getCriteria());
|
||||
if (totalScore.compareTo(new BigDecimal(applicationEntity.getCall().getThreshold())) >= 0) {
|
||||
applicationEntity.setStatus(status.getValue());
|
||||
|
||||
Reference in New Issue
Block a user