Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
ca650d87
Commit
ca650d87
authored
May 26, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2437 【web-人员管理】人员导入,基本平台信息导入增加校验与提示
parent
da62cb7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ExcelServiceImpl.java
.../boot/module/jxiop/biz/service/impl/ExcelServiceImpl.java
+2
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/ExcelServiceImpl.java
View file @
ca650d87
...
...
@@ -212,10 +212,10 @@ public class ExcelServiceImpl {
throw
new
InnerInvokException
(
"第"
+
(
i
+
2
)
+
"行,"
+
name
+
"数据不能空"
,
"403"
,
"第"
+
(
i
+
2
)
+
"行,"
+
name
+
"数据不能空"
,
403
);
}
if
(
obj
!=
null
&&
name
.
equals
(
"手机号码"
)
&&
String
.
valueOf
(
obj
).
matches
(
PHONE
))
{
throw
new
InnerInvokException
(
"第"
+
(
i
+
2
)
+
"行,
"
+
name
+
"
手机号码填写错误"
,
"403"
,
"第"
+
(
i
+
2
)
+
"行,"
+
name
+
"手机号码填写错误"
,
403
);
throw
new
InnerInvokException
(
"第"
+
(
i
+
2
)
+
"行,手机号码填写错误"
,
"403"
,
"第"
+
(
i
+
2
)
+
"行,"
+
name
+
"手机号码填写错误"
,
403
);
}
if
(
obj
!=
null
&&
name
.
equals
(
"邮箱"
)
&&
String
.
valueOf
(
obj
).
matches
(
EMAIL
))
{
throw
new
InnerInvokException
(
"第"
+
(
i
+
2
)
+
"行,
"
+
name
+
"
邮箱填写错误"
,
"403"
,
"第"
+
(
i
+
2
)
+
"行,"
+
name
+
"邮箱填写错误"
,
403
);
throw
new
InnerInvokException
(
"第"
+
(
i
+
2
)
+
"行,邮箱填写错误"
,
"403"
,
"第"
+
(
i
+
2
)
+
"行,"
+
name
+
"邮箱填写错误"
,
403
);
}
}
...
...
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