Commit bd0e1fe5 authored by shishir suman's avatar shishir suman
Browse files

correcting logic

1 merge request!52Uphrh 7903 mobile otp
Showing with 3 additions and 3 deletions
+3 -3
......@@ -477,9 +477,9 @@ public class TicketServiceImpl implements TicketService {
// set incoming values
setUpdateTicket(updateTicketRequest, ticket);
// if ticket is getting reopened we will reset escalation date time
if((updateTicketRequest.getStatus().name().equalsIgnoreCase("OPEN")
|| updateTicketRequest.getStatus().name().equalsIgnoreCase("INVALID"))
&& oldStatusValue.name().equalsIgnoreCase("CLOSED") ) {
if(updateTicketRequest.getStatus().name().equalsIgnoreCase("OPEN")
&& (updateTicketRequest.getStatus().name().equalsIgnoreCase("INVALID")
|| oldStatusValue.name().equalsIgnoreCase("CLOSED")) ) {
// sending reopen ticket mail to nodal officer
log.info("ticket is getting reopened we will reset escalation date time - {}", ticket.getId());
LocalDateTime escalationDateTime = getEscalationDateFromMailConfig();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment