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
e4e1175f
Commit
e4e1175f
authored
Mar 06, 2026
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化-fxj
parent
c7a21362
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
16 deletions
+15
-16
TEmployeeContractPreNewServiceImpl.java
...ives/service/impl/TEmployeeContractPreNewServiceImpl.java
+15
-16
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeContractPreNewServiceImpl.java
View file @
e4e1175f
...
@@ -53,6 +53,7 @@ import lombok.RequiredArgsConstructor;
...
@@ -53,6 +53,7 @@ import lombok.RequiredArgsConstructor;
import
lombok.extern.log4j.Log4j2
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.web.client.RestTemplate
;
import
org.springframework.web.client.RestTemplate
;
import
javax.servlet.ServletOutputStream
;
import
javax.servlet.ServletOutputStream
;
...
@@ -287,21 +288,19 @@ public class TEmployeeContractPreNewServiceImpl extends ServiceImpl<TEmployeeCon
...
@@ -287,21 +288,19 @@ public class TEmployeeContractPreNewServiceImpl extends ServiceImpl<TEmployeeCon
TEmployeeContractPreNew
pre
=
new
TEmployeeContractPreNew
();
TEmployeeContractPreNew
pre
=
new
TEmployeeContractPreNew
();
BeanCopyUtils
.
copyProperties
(
preVo
,
pre
);
BeanCopyUtils
.
copyProperties
(
preVo
,
pre
);
pre
.
setProcessStatus
(
CommonConstants
.
ONE_STRING
);
pre
.
setProcessStatus
(
CommonConstants
.
ONE_STRING
);
if
(
null
!=
alert
){
pre
.
setCustomerUsername
(
alert
.
getCsName
());
pre
.
setCustomerUsername
(
alert
.
getCsName
());
pre
.
setCustomerUserLoginname
(
alert
.
getCsLoginName
());
pre
.
setCustomerUserLoginname
(
alert
.
getCsLoginName
());
pre
.
setDeptName
(
alert
.
getProject
());
pre
.
setDeptName
(
alert
.
getProject
());
pre
.
setDeptNo
(
alert
.
getProjectNo
());
pre
.
setDeptNo
(
alert
.
getProjectNo
());
pre
.
setEmployeeName
(
alert
.
getEmpName
());
pre
.
setEmployeeName
(
alert
.
getEmpName
());
pre
.
setEmpIdcard
(
alert
.
getEmpIdcard
());
pre
.
setEmpIdcard
(
alert
.
getEmpIdcard
());
pre
.
setDeptId
(
alert
.
getDeptId
());
pre
.
setDeptId
(
alert
.
getDeptId
());
pre
.
setEmpPhone
(
alert
.
getEmpPhone
());
pre
.
setEmpPhone
(
alert
.
getEmpPhone
());
pre
.
setEmployeeNature
(
alert
.
getEmpType
());
pre
.
setEmployeeNature
(
alert
.
getEmpType
());
pre
.
setPosition
(
alert
.
getPost
());
pre
.
setPosition
(
alert
.
getPost
());
pre
.
setIsUrg
(
CommonConstants
.
ZERO_STRING
);
pre
.
setIsUrg
(
CommonConstants
.
ZERO_STRING
);
pre
.
setOverFlag
(
CommonConstants
.
ONE_STRING
);
pre
.
setOverFlag
(
CommonConstants
.
ONE_STRING
);
pre
.
setSignFlag
(
CommonConstants
.
ONE_STRING
);
pre
.
setSignFlag
(
CommonConstants
.
ONE_STRING
);
}
String
errorInfo
=
initDateInfo
(
pre
,
contract
);
String
errorInfo
=
initDateInfo
(
pre
,
contract
);
if
(
null
!=
errorInfo
){
if
(
null
!=
errorInfo
){
return
R
.
failed
(
errorInfo
);
return
R
.
failed
(
errorInfo
);
...
@@ -378,7 +377,7 @@ public class TEmployeeContractPreNewServiceImpl extends ServiceImpl<TEmployeeCon
...
@@ -378,7 +377,7 @@ public class TEmployeeContractPreNewServiceImpl extends ServiceImpl<TEmployeeCon
preVoTemp
=
new
TEmployeeContractPreNewVo
();
preVoTemp
=
new
TEmployeeContractPreNewVo
();
BeanCopyUtils
.
copyProperties
(
preVo
,
preVoTemp
);
BeanCopyUtils
.
copyProperties
(
preVo
,
preVoTemp
);
alert
=
alertMap
.
get
(
contract
.
getId
());
alert
=
alertMap
.
get
(
contract
.
getId
());
temp
=
confirmMap
.
get
(
contract
.
getId
());
temp
=
null
==
confirmMap
?
null
:
confirmMap
.
get
(
contract
.
getId
());
checkVo
=
check
(
preMap
,
scheme
,
rule
,
alert
,
preVoTemp
,
contract
);
checkVo
=
check
(
preMap
,
scheme
,
rule
,
alert
,
preVoTemp
,
contract
);
if
(
null
!=
checkVo
){
if
(
null
!=
checkVo
){
if
(
null
!=
temp
)
{
if
(
null
!=
temp
)
{
...
...
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