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
57184972
Commit
57184972
authored
Oct 23, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-社保自动化相关提交
parent
1de7ced9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
TEmployeeContractPreServiceImpl.java
...rchives/service/impl/TEmployeeContractPreServiceImpl.java
+6
-5
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeContractPreServiceImpl.java
View file @
57184972
...
@@ -412,11 +412,12 @@ public class TEmployeeContractPreServiceImpl extends ServiceImpl<TEmployeeContra
...
@@ -412,11 +412,12 @@ public class TEmployeeContractPreServiceImpl extends ServiceImpl<TEmployeeContra
}
else
{
}
else
{
// 合同创建成功,继续调用FascService的submitContract方法
// 合同创建成功,继续调用FascService的submitContract方法
R
<
String
>
result
=
null
;
R
<
String
>
result
=
null
;
TEmployeeContractPre
contract
=
baseMapper
.
selectById
(
contractPre
.
getId
());
try
{
try
{
result
=
fascService
.
submitContract
(
contractPre
.
getId
());
result
=
fascService
.
submitContract
(
contractPre
.
getId
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
// 更新合同:
// 更新合同:
if
(
Common
.
isNotNull
(
contract
Pre
.
getContractId
()))
{
if
(
Common
.
isNotNull
(
contract
.
getContractId
()))
{
TEmployeeContractInfo
empContract
=
contractInfoService
.
getById
(
contractPre
.
getContractId
());
TEmployeeContractInfo
empContract
=
contractInfoService
.
getById
(
contractPre
.
getContractId
());
empContract
.
setDeleteFlag
(
CommonConstants
.
ONE_INT
);
empContract
.
setDeleteFlag
(
CommonConstants
.
ONE_INT
);
contractInfoService
.
updateById
(
empContract
);
contractInfoService
.
updateById
(
empContract
);
...
@@ -435,8 +436,8 @@ public class TEmployeeContractPreServiceImpl extends ServiceImpl<TEmployeeContra
...
@@ -435,8 +436,8 @@ public class TEmployeeContractPreServiceImpl extends ServiceImpl<TEmployeeContra
.
set
(
TEmployeeContractPre:
:
getErrorTime
,
LocalDateTimeUtils
.
convertLDToDate
(
LocalDate
.
now
()));
.
set
(
TEmployeeContractPre:
:
getErrorTime
,
LocalDateTimeUtils
.
convertLDToDate
(
LocalDate
.
now
()));
this
.
update
(
updateWrapper
);
this
.
update
(
updateWrapper
);
// 更新合同:
// 更新合同:
if
(
Common
.
isNotNull
(
contract
Pre
.
getContractId
()))
{
if
(
Common
.
isNotNull
(
contract
.
getContractId
()))
{
TEmployeeContractInfo
empContract
=
contractInfoService
.
getById
(
contract
Pre
.
getContractId
());
TEmployeeContractInfo
empContract
=
contractInfoService
.
getById
(
contract
.
getContractId
());
empContract
.
setDeleteFlag
(
CommonConstants
.
ONE_INT
);
empContract
.
setDeleteFlag
(
CommonConstants
.
ONE_INT
);
contractInfoService
.
updateById
(
empContract
);
contractInfoService
.
updateById
(
empContract
);
}
}
...
@@ -456,10 +457,10 @@ public class TEmployeeContractPreServiceImpl extends ServiceImpl<TEmployeeContra
...
@@ -456,10 +457,10 @@ public class TEmployeeContractPreServiceImpl extends ServiceImpl<TEmployeeContra
errorMessage
.
setData
(
contractVO
);
errorMessage
.
setData
(
contractVO
);
errorMessageListAll
.
add
(
errorMessage
);
errorMessageListAll
.
add
(
errorMessage
);
}
else
{
}
else
{
if
(
Common
.
isNotNull
(
contract
Pre
.
getContractId
()))
{
if
(
Common
.
isNotNull
(
contract
.
getContractId
()))
{
TEmployeeContractAudit
audit
=
new
TEmployeeContractAudit
();
TEmployeeContractAudit
audit
=
new
TEmployeeContractAudit
();
audit
.
setRootName
(
"签署中"
);
audit
.
setRootName
(
"签署中"
);
audit
.
setLinkId
(
contract
Pre
.
getContractId
());
audit
.
setLinkId
(
contract
.
getContractId
());
audit
.
setLinkType
(
CommonConstants
.
ONE_INT
);
audit
.
setLinkType
(
CommonConstants
.
ONE_INT
);
audit
.
setCreateName
(
"法大大电子签"
);
audit
.
setCreateName
(
"法大大电子签"
);
audit
.
setCreateBy
(
"1"
);
audit
.
setCreateBy
(
"1"
);
...
...
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