Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
Grievance
Commits
bd0e1fe5
Commit
bd0e1fe5
authored
1 year ago
by
shishir suman
Browse files
Options
Download
Patches
Plain Diff
correcting logic
parent
5d658a5d
UPHRH_quartz_scheduler
UAT
UPHRH_7903_mobile_otp
1 merge request
!52
Uphrh 7903 mobile otp
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/upsmf/grievance/service/impl/TicketServiceImpl.java
+3
-3
...a/org/upsmf/grievance/service/impl/TicketServiceImpl.java
with
3 additions
and
3 deletions
+3
-3
src/main/java/org/upsmf/grievance/service/impl/TicketServiceImpl.java
+
3
−
3
View file @
bd0e1fe5
...
...
@@ -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
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets