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
uphrh-smf-form
Commits
44e35138
Unverified
Commit
44e35138
authored
2 years ago
by
sarojsingh2021
Committed by
GitHub
2 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #11 from UPHRH-platform/delete-form
fix-DELETED-STATUS
parents
d95f1838
b5749744
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/com/tarento/formservice/utils/ValidationService.java
+3
-1
...java/com/tarento/formservice/utils/ValidationService.java
with
3 additions
and
1 deletion
+3
-1
src/main/java/com/tarento/formservice/utils/ValidationService.java
+
3
−
1
View file @
44e35138
...
...
@@ -174,7 +174,9 @@ public class ValidationService {
}
else
if
(
StringUtils
.
isNotBlank
(
form
.
getStatus
())
&&
form
.
getStatus
().
equalsIgnoreCase
(
Status
.
UNPUBLISH
.
name
()))
{
form
.
setStatus
(
Status
.
UNPUBLISH
.
name
());
}
else
{
}
else
if
(
StringUtils
.
isNotBlank
(
form
.
getStatus
())
&&
form
.
getStatus
().
equalsIgnoreCase
(
Status
.
DELETED
.
name
())){
form
.
setStatus
(
Status
.
DELETED
.
name
());
}
else
{
form
.
setStatus
(
Status
.
PUBLISH
.
name
());
}
}
...
...
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