Subversion Repositories SmartDukaan

Rev

Rev 7973 | Rev 8024 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7973 Rev 7975
Line 1639... Line 1639...
1639
    	if (es!=null && es.getCategoryID() > 0) {
1639
    	if (es!=null && es.getCategoryID() > 0) {
1640
	    	if((es.getCategoryID() == 10002l || es.getCategoryID() == 10003l || es.getCategoryID() == 10004l || es.getCategoryID() == 10005l) && !es.getStatus().equals(EntityStatus.UNASSIGNED)){
1640
	    	if((es.getCategoryID() == 10002l || es.getCategoryID() == 10003l || es.getCategoryID() == 10004l || es.getCategoryID() == 10005l) && !es.getStatus().equals(EntityStatus.UNASSIGNED)){
1641
		    	NewCMP cmp = new NewCMP(Arrays.asList(this.entity));
1641
		    	NewCMP cmp = new NewCMP(Arrays.asList(this.entity));
1642
		    	Map<Long, Double> score = null;
1642
		    	Map<Long, Double> score = null;
1643
				try {
1643
				try {
1644
					Map<Long, Map<Long, Double>> scoreMap = cmp.getSlideScores();
1644
					Map<Long, Map<Long, Double>> scoreMap = cmp.getSlideScores(0);
1645
					score = scoreMap.get(entityId);
1645
					score = scoreMap.get(entityId);
1646
					score.put(130054L, cmp.getFinalScores(scoreMap).get(entityId)/10);
1646
					score.put(130054L, cmp.getFinalScores(scoreMap).get(entityId)/10);
1647
					
1647
					
1648
				} catch (Exception e) {
1648
				} catch (Exception e) {
1649
					System.out.println("Some error occurred");
1649
					System.out.println("Some error occurred");