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
822d5d3c
Commit
822d5d3c
authored
Mar 21, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限调整
parent
8e490f2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
19 deletions
+24
-19
DoJointInsuranceTask.java
...ud/plus/v1/yifu/insurances/util/DoJointInsuranceTask.java
+24
-19
No files found.
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/util/DoJointInsuranceTask.java
View file @
822d5d3c
...
@@ -342,30 +342,35 @@ public class DoJointInsuranceTask {
...
@@ -342,30 +342,35 @@ public class DoJointInsuranceTask {
List
<
EkpSocialViewVo
>
viewVo
;
List
<
EkpSocialViewVo
>
viewVo
;
try
{
try
{
//薪资结算状态同步暂时解决方案为定时任务去更新
//薪资结算状态同步暂时解决方案为定时任务去更新
TUpdateStatusError
error
=
new
TUpdateStatusError
();
/*
TUpdateStatusError error = new TUpdateStatusError();
error.setSettleNo(vo.getSettleNo());
error.setSettleNo(vo.getSettleNo());
error.setStatus(CommonConstants.ZERO_INT);
error.setStatus(CommonConstants.ZERO_INT);
error
.
setTitle
(
"薪资结算状态同步
失败
"
);
error.setTitle("薪资结算状态同步
成功
");
error.setTypeFlag(CommonConstants.FIVE_STRING);
error.setTypeFlag(CommonConstants.FIVE_STRING);
error.setCreateTime(DateUtil.getCurrentDateTime());
error.setCreateTime(DateUtil.getCurrentDateTime());
error.setSettleType(vo.getPayFlag());
error.setSettleType(vo.getPayFlag());
updateStatusErrorMapper
.
insert
(
error
);
updateStatusErrorMapper.insert(error);*/
// //根据结算单号获取明细id和结算状态
TUpdateStatusError
error
=
new
TUpdateStatusError
();
// viewVo = ekpSettleService.selectSalarylViewBySettleNo(vo.getSettleNo(), vo.getPayFlag());
error
.
setSettleNo
(
vo
.
getSettleNo
());
// if (!viewVo.isEmpty()) {
error
.
setCreateTime
(
DateUtil
.
getCurrentDateTime
());
// viewVo.forEach(e -> e.setPayFlag(vo.getPayFlag()));
error
.
setSettleType
(
vo
.
getPayFlag
());
// R<Boolean> flag = salaryDaprUtil.updateSalarySettleStatus(viewVo);
error
.
setTypeFlag
(
CommonConstants
.
FIVE_STRING
);
// if (Common.isEmpty(flag) || Boolean.TRUE.equals(!flag.getData())) {
//根据结算单号获取明细id和结算状态
// TUpdateStatusError error = new TUpdateStatusError();
viewVo
=
ekpSettleService
.
selectSalarylViewBySettleNo
(
vo
.
getSettleNo
(),
vo
.
getPayFlag
());
// error.setSettleNo(vo.getSettleNo());
if
(!
viewVo
.
isEmpty
())
{
// error.setStatus(CommonConstants.ZERO_INT);
viewVo
.
forEach
(
e
->
e
.
setPayFlag
(
vo
.
getPayFlag
()));
// error.setTitle("薪资结算状态同步失败");
R
<
Boolean
>
flag
=
salaryDaprUtil
.
updateSalarySettleStatus
(
viewVo
);
// error.setTypeFlag(CommonConstants.FIVE_STRING);
if
(
Common
.
isEmpty
(
flag
)
||
Boolean
.
TRUE
.
equals
(!
flag
.
getData
()))
{
// error.setCreateTime(DateUtil.getCurrentDateTime());
// error.setSettleType(vo.getPayFlag());
error
.
setStatus
(
CommonConstants
.
ZERO_INT
);
// updateStatusErrorMapper.insert(error);
error
.
setTitle
(
"薪资结算状态同步失败"
);
// }
updateStatusErrorMapper
.
insert
(
error
);
// }
}
else
{
error
.
setStatus
(
CommonConstants
.
ZERO_INT
);
error
.
setTitle
(
"薪资结算状态同步成功"
);
updateStatusErrorMapper
.
insert
(
error
);
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
TUpdateStatusError
error
=
new
TUpdateStatusError
();
TUpdateStatusError
error
=
new
TUpdateStatusError
();
error
.
setSettleNo
(
vo
.
getSettleNo
());
error
.
setSettleNo
(
vo
.
getSettleNo
());
...
...
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