Subversion Repositories SmartDukaan

Rev

Rev 8086 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8086 Rev 8695
Line 82... Line 82...
82
    	Map<Long,Double> actualScore = new HashMap<Long, Double>();
82
    	Map<Long,Double> actualScore = new HashMap<Long, Double>();
83
    	Map<Long,Double> customScore = new HashMap<Long, Double>();
83
    	Map<Long,Double> customScore = new HashMap<Long, Double>();
84
    	Map<String, Map<Long,Double>> scores = new HashMap<String, Map<Long, Double>>();
84
    	Map<String, Map<Long,Double>> scores = new HashMap<String, Map<Long, Double>>();
85
    	EntityState es = CreationUtils.getEntityState(entityId);
85
    	EntityState es = CreationUtils.getEntityState(entityId);
86
    	if (es!=null && es.getCategoryID() > 0) {
86
    	if (es!=null && es.getCategoryID() > 0) {
87
	    	if((es.getCategoryID() == 10002l || es.getCategoryID() == 10003l || es.getCategoryID() == 10004l || es.getCategoryID() == 10005l) && !es.getStatus().equals(EntityStatus.UNASSIGNED)){
87
	    	if(es.getCategoryID() == 10006l && !es.getStatus().equals(EntityStatus.UNASSIGNED)){
88
		    	NewCMP cmp = new NewCMP(Arrays.asList(this.entity));
88
		    	NewCMP cmp = new NewCMP(Arrays.asList(this.entity));
89
				try {
89
				try {
90
					//get Scores on the basis of evaluation
90
					//get Scores on the basis of evaluation
91
					Map<Long, Map<Long, Double>> scoreMap = cmp.getSlideScores(0);
91
					Map<Long, Map<Long, Double>> scoreMap = cmp.getSlideScores(0);
92
					for(Map.Entry<Long, Double> entry1 : scoreMap.get(entityId).entrySet()){
92
					for(Map.Entry<Long, Double> entry1 : scoreMap.get(entityId).entrySet()){