Subversion Repositories SmartDukaan

Rev

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

Rev 24452 Rev 24467
Line 73... Line 73...
73
		Ticket ticket = new Ticket();
73
		Ticket ticket = new Ticket();
74
		ticket.setSubCategoryId(subcategoryId);
74
		ticket.setSubCategoryId(subcategoryId);
75
		ticket.setFofoId(fofoId);
75
		ticket.setFofoId(fofoId);
76
		ticket.setCreateTimestamp(LocalDateTime.now());
76
		ticket.setCreateTimestamp(LocalDateTime.now());
77
		ticket.setUpdateTimestamp(LocalDateTime.now());
77
		ticket.setUpdateTimestamp(LocalDateTime.now());
-
 
78
		ticket.setL2EscalationTimestamp(ticket.getUpdateTimestamp().plusDays(2));
-
 
79
		ticket.setL3EscalationTimestamp(ticket.getL2EscalationTimestamp().plusDays(2));
-
 
80
		ticket.setLastEscalationTimestamp(ticket.getL3EscalationTimestamp().plusDays(2));
78
		ticket.setHappyCode(getRandomString());
81
		ticket.setHappyCode(getRandomString());
79
		int l3Auth = this.getAuthUserId(categoryId, escalationTypeL3, fofoId);
82
		int l3Auth = this.getAuthUserId(categoryId, escalationTypeL3, fofoId);
80
		int l1Auth = this.getAuthUserId(categoryId, escalationTypeL1, fofoId);
83
		int l1Auth = this.getAuthUserId(categoryId, escalationTypeL1, fofoId);
81
		int l2Auth = this.getAuthUserId(categoryId, escalationTypeL2, fofoId);
84
		int l2Auth = this.getAuthUserId(categoryId, escalationTypeL2, fofoId);
82
		LOGGER.info(l1Auth + "-" + l2Auth + "-" + l3Auth);
85
		LOGGER.info(l1Auth + "-" + l2Auth + "-" + l3Auth);