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
07e75bdb
Commit
07e75bdb
authored
Nov 29, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
30号版本:档案合同、商险、薪资状态;缴费库反馈列;合同提交的直接审核优化等
parent
37f71ca5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
TInsuranceDetailServiceImpl.java
...s/service/insurance/impl/TInsuranceDetailServiceImpl.java
+13
-2
No files found.
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsuranceDetailServiceImpl.java
View file @
07e75bdb
...
...
@@ -1144,6 +1144,10 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
List
<
InsuranceListVO
>
errorList
=
new
ArrayList
<>();
//后端处理的数据
List
<
TInsuranceDetail
>
successList
=
new
ArrayList
<>();
//被替换人的档案要处理状态
List
<
String
>
sourceIdCardList
=
new
ArrayList
<>();
// 被替换的id
List
<
String
>
replaceIdList
=
new
ArrayList
<>();
if
(
CollectionUtils
.
isNotEmpty
(
detailList
)){
for
(
TInsuranceDetail
detail
:
detailList
)
{
if
(
detail
.
getBuyHandleStatus
()
==
CommonConstants
.
FOUR_INT
...
...
@@ -1196,6 +1200,8 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
detail
.
setUpdateTime
(
LocalDateTime
.
now
());
detail
.
setBackRemark
(
remarkMap
.
get
(
detail
.
getId
()));
successList
.
add
(
detail
);
sourceIdCardList
.
add
(
detail
.
getEmpIdcardNo
());
replaceIdList
.
add
(
detail
.
getId
());
}
}
}
...
...
@@ -1286,6 +1292,11 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
}
//更新状态
this
.
saveOrUpdateBatch
(
successList
);
// 处理档案状态
if
(
CollectionUtils
.
isNotEmpty
(
successList
))
{
this
.
doFailInfo
(
successList
,
sourceIdCardList
,
replaceIdList
,
CommonConstants
.
FOUR_STRING
);
}
}
//操作记录
addOperate
(
operateList
,
user
,
InsurancesConstants
.
ROLLBACK
);
...
...
@@ -1323,7 +1334,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
handleParam
.
setRemark
(
e
.
getRemark
());
list
.
add
(
handleParam
);
});
//
TODO-
关联档案1
// 关联档案1
this
.
successfulInsurance
(
user
,
list
);
}
...
...
@@ -1336,7 +1347,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
handleParam
.
setRemark
(
e
.
getRemark
());
list
.
add
(
handleParam
);
});
//
TODO-
关联档案2
// 关联档案2
this
.
rollBackInsurance
(
user
,
list
);
}
}
...
...
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