Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
f2ab4f28
Commit
f2ab4f28
authored
Jul 16, 2021
by
季圣华
Browse files
修改工具类
parent
0987190d
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/utils/Tools.java
View file @
f2ab4f28
...
...
@@ -54,8 +54,12 @@ public class Tools {
*
* @return
*/
public
static
String
getCurrentMonth
(
Date
date
)
{
return
new
SimpleDateFormat
(
"yyyy-MM-dd"
).
format
(
date
);
public
static
String
parseDateToStr
(
Date
date
)
{
if
(
date
!=
null
)
{
return
new
SimpleDateFormat
(
"yyyy-MM-dd"
).
format
(
date
);
}
else
{
return
""
;
}
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment