Skip to content

Commit

Permalink
KB-5130 | DEV| Assessment | BE | Enhancement in Consumption Logic for…
Browse files Browse the repository at this point in the history
… the QuestionWeightage Assessment Type (#611)

1. Total marks fix.
  • Loading branch information
tarentomaheshvakkund authored Jun 18, 2024
1 parent 5138642 commit 28ca582
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ private Map<String, Object> getParamDetailsForQTypes(Map<String, Object> hierarc
String assessmentType = (String) assessmentHierarchy.get(Constants.ASSESSMENT_TYPE);
questionSetDetailsMap.put(Constants.ASSESSMENT_TYPE, assessmentType);
questionSetDetailsMap.put(Constants.MINIMUM_PASS_PERCENTAGE, assessmentHierarchy.get(Constants.MINIMUM_PASS_PERCENTAGE));
questionSetDetailsMap.put(Constants.TOTAL_MARKS, assessmentHierarchy.get(Constants.TOTAL_MARKS));
questionSetDetailsMap.put(Constants.TOTAL_MARKS, hierarchySection.get(Constants.TOTAL_MARKS));
if (assessmentType.equalsIgnoreCase(Constants.QUESTION_WEIGHTAGE)) {
Map<String,Map<String, Object>> questionSectionSchema= (Map<String,Map<String, Object>>) hierarchySection.get(Constants.SECTION_LEVEL_DEFINITION);
questionSetDetailsMap.put(Constants.QUESTION_SECTION_SCHEME, generateMarkMap(questionSectionSchema));
Expand Down

0 comments on commit 28ca582

Please sign in to comment.