Subversion Repositories SmartDukaan

Rev

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

Rev 24526 Rev 24536
Line 259... Line 259...
259
		List<Position> positions = positionRepository.selectPositionByCategoryId(ticketCategory.getId());
259
		List<Position> positions = positionRepository.selectPositionByCategoryId(ticketCategory.getId());
260
		for (Position position : positions) {
260
		for (Position position : positions) {
261
			if (position.getEscalationType().equals(EscalationType.L1)) {
261
			if (position.getEscalationType().equals(EscalationType.L1)) {
262
				ticketAssigned.setAssineeId(position.getAuthUserId());
262
				ticketAssigned.setAssineeId(position.getAuthUserId());
263
				ticket.setL1AuthUser(position.getAuthUserId());
263
				ticket.setL1AuthUser(position.getAuthUserId());
264
			} else {
264
			} else if(position.getEscalationType().equals(EscalationType.L2)) {
265
				ticket.setL2AuthUser(position.getAuthUserId());
265
				ticket.setL2AuthUser(position.getAuthUserId());
266
			}
266
			}
267
		}
267
		}
268
		return ticket;
268
		return ticket;
269
	}
269
	}
Line 364... Line 364...
364
		if (l1Auth == 0) {
364
		if (l1Auth == 0) {
365
			if (l2Auth == 0) {
365
			if (l2Auth == 0) {
366
				this.setAssignment(ticket, ticketAssigned);
366
				this.setAssignment(ticket, ticketAssigned);
367
			} else {
367
			} else {
368
				ticketAssigned.setAssineeId(l2Auth);
368
				ticketAssigned.setAssineeId(l2Auth);
-
 
369
				ticket.setL1AuthUser(l2Auth);
-
 
370
				ticket.setL2AuthUser(l2Auth);
369
			}
371
			}
370
		} else {
372
		} else {
371
			ticketAssigned.setAssineeId(l1Auth);
373
			ticketAssigned.setAssineeId(l1Auth);
372
			ticket.setL1AuthUser(l1Auth);
374
			ticket.setL1AuthUser(l1Auth);
373
			ticket.setL2AuthUser(l2Auth);
375
			ticket.setL2AuthUser(l2Auth);