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
c2fdeb3c
Commit
c2fdeb3c
authored
Jan 16, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化修改
parent
ef1c7e4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
TVacationInfoServiceImpl.java
...iness/service/vacation/impl/TVacationInfoServiceImpl.java
+2
-4
No files found.
yifu-business/yifu-business-biz/src/main/java/com/yifu/cloud/plus/v1/business/service/vacation/impl/TVacationInfoServiceImpl.java
View file @
c2fdeb3c
...
...
@@ -186,7 +186,6 @@ implements TVacationInfoService {
// 初始化人员拓展信息map和假勤类型map
HashMap
<
String
,
TBusinessEmployeeExtendInfo
>
employeeExtentMap
=
Common
.
listToHashMapByKey
(
employeeExtentList
,
"businessTelecomNumber"
);
HashMap
<
String
,
TBusDept
>
busDeptMap
=
Common
.
listToHashMapByKey
(
busDeptList
,
"name"
);
HashMap
<
String
,
ErrorMessage
>
errorMessageHashMap
=
Common
.
listToHashMapByKey
(
errorMessageList
,
"line"
);
int
size
=
list
.
size
();
Map
<
String
,
String
>
sysMap
=
new
HashMap
<>();
Map
<
String
,
String
>
dicObj
=
(
Map
<
String
,
String
>)
RedisUtil
.
redis
.
opsForValue
().
get
(
...
...
@@ -206,15 +205,14 @@ implements TVacationInfoService {
int
line
=
i
+
2
;
TVacationInfo
entity
=
new
TVacationInfo
();
ImportVacationInfoDTO
dto
=
list
.
get
(
i
);
businessEmployeeExtend
=
employeeExtentMap
.
get
(
dto
.
getBusinessTelecomNumber
());
businessEmployeeExtend
=
employeeExtentMap
.
get
(
dto
.
getBusinessTelecomNumber
());
if
(
null
==
businessEmployeeExtend
)
{
errorMessageList
.
add
(
new
ErrorMessage
(
line
,
BusinessResultErrorMsg
.
BUSINESS_TELECOM_NUMBER_NOT_EXIST
,
CommonConstants
.
RED
));
continue
;
}
TBusDept
busDept
=
busDeptMap
.
get
(
businessEmployeeExtend
.
getDepartName
());
errorMessage
=
errorMessageHashMap
.
get
(
line
+
""
);
boolean
isSave
=
true
;
if
(
null
!=
errorMessage
)
{
if
(
!
errorMessageList
.
isEmpty
()
)
{
continue
;
}
if
(
Common
.
isEmpty
(
sysMap
.
get
(
dto
.
getVacationType
())))
{
...
...
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