Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
9404aa41
Commit
9404aa41
authored
Aug 04, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
缴费库 代码修改
parent
b5bf5bc8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ExcelUtil.java
...m/yifu.cloud.plus.v1/yifu/common/core/util/ExcelUtil.java
+3
-1
No files found.
yifu-common/yifu-common-core/src/main/java/com/yifu.cloud.plus.v1/yifu/common/core/util/ExcelUtil.java
View file @
9404aa41
...
...
@@ -633,7 +633,9 @@ public class ExcelUtil <T> implements Serializable {
if
(
Common
.
isNotNull
(
c
))
{
//日期格式校验
if
(
attr
.
isDate
())
{
DateUtil
.
stringToDate
(
c
.
trim
(),
attr
.
dateFormat
());
if
(
null
==
DateUtil
.
stringToDate
(
c
.
trim
(),
"yyyyMMdd"
))
{
return
errorInfo
(
attr
,
"_日期格式有误"
,
i
);
}
}
//手机号码校验
if
(
attr
.
isPhone
()
&&
getMatchRes
(
c
.
trim
(),
attr
,
ValidityConstants
.
MOBILE_PATTERN
))
{
...
...
Write
Preview
Markdown
is supported
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