Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dd_school
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqi
dd_school
Commits
fc276b97
Commit
fc276b97
authored
Dec 20, 2023
by
baochunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#G:新增导入错误提示
parent
1a784211
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
smart-campus/src/main/java/yangtz/cs/liu/campus/controller/schoolNewTeacherDzdn/SchoolTeacherBasiclnformationController.java
+3
-0
No files found.
smart-campus/src/main/java/yangtz/cs/liu/campus/controller/schoolNewTeacherDzdn/SchoolTeacherBasiclnformationController.java
View file @
fc276b97
...
@@ -165,6 +165,9 @@ public class SchoolTeacherBasiclnformationController extends BaseController {
...
@@ -165,6 +165,9 @@ public class SchoolTeacherBasiclnformationController extends BaseController {
//2.处理性别
//2.处理性别
Map
<
String
,
Object
>
sexFromIdCard
=
IdCardNumberUtils
.
getSexFromIdCard
(
date
.
getIdCard
());
Map
<
String
,
Object
>
sexFromIdCard
=
IdCardNumberUtils
.
getSexFromIdCard
(
date
.
getIdCard
());
Integer
sex
=
(
Integer
)
sexFromIdCard
.
get
(
IdCardNumberUtils
.
SEX_BY_INT_MAP_KEY
);
Integer
sex
=
(
Integer
)
sexFromIdCard
.
get
(
IdCardNumberUtils
.
SEX_BY_INT_MAP_KEY
);
if
(
null
==
sex
){
return
AjaxResult
.
error
(
"导入用户:"
+
date
.
getName
()+
",身份证错误请检查"
+
date
.
getIdCard
());
}
if
(
sex
==
1
){
if
(
sex
==
1
){
date
.
setSex
(
"0"
);
date
.
setSex
(
"0"
);
}
else
{
}
else
{
...
...
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