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
cd3cb031
Commit
cd3cb031
authored
Jun 25, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.6.6' into MVP1.6.6
parents
8621e550
a7c2d8fe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
63 additions
and
40 deletions
+63
-40
TCompleteMonitorFlagVo.java
...loud/plus/v1/yifu/archives/vo/TCompleteMonitorFlagVo.java
+36
-36
TEmployeeContractInfoServiceImpl.java
...chives/service/impl/TEmployeeContractInfoServiceImpl.java
+26
-4
TCompleteMonitorMapper.xml
...-biz/src/main/resources/mapper/TCompleteMonitorMapper.xml
+1
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TCompleteMonitorFlagVo.java
View file @
cd3cb031
...
...
@@ -15,76 +15,76 @@ import java.util.Date;
@Data
public
class
TCompleteMonitorFlagVo
implements
Serializable
{
p
rivate
String
empSex
;
p
ublic
String
empSex
;
p
rivate
Date
validityStart
;
p
ublic
Date
validityStart
;
p
rivate
Date
validityEnd
;
p
ublic
Date
validityEnd
;
p
rivate
Date
empBirthday
;
p
ublic
Date
empBirthday
;
p
rivate
Integer
empAge
;
p
ublic
Integer
empAge
;
p
rivate
String
empMarriStatus
;
p
ublic
String
empMarriStatus
;
p
rivate
String
empNational
;
p
ublic
String
empNational
;
p
rivate
String
politicalStatus
;
p
ublic
String
politicalStatus
;
p
rivate
String
empPhone
;
p
ublic
String
empPhone
;
p
rivate
String
empRegisType
;
p
ublic
String
empRegisType
;
p
rivate
Integer
fileProvince
;
p
ublic
Integer
fileProvince
;
p
rivate
Integer
fileCity
;
p
ublic
Integer
fileCity
;
p
rivate
Integer
isCollege
;
p
ublic
Integer
isCollege
;
p
rivate
String
hignEducation
;
p
ublic
String
hignEducation
;
p
rivate
String
school
;
p
ublic
String
school
;
p
rivate
String
major
;
p
ublic
String
major
;
p
rivate
Date
admissionDate
;
p
ublic
Date
admissionDate
;
p
rivate
Date
gradutionDate
;
p
ublic
Date
gradutionDate
;
p
rivate
String
contactAddress
;
p
ublic
String
contactAddress
;
p
rivate
String
firstWorkFlag
;
p
ublic
String
firstWorkFlag
;
p
rivate
String
haveQualification
;
p
ublic
String
haveQualification
;
p
rivate
String
deptName
;
p
ublic
String
deptName
;
p
rivate
String
unitName
;
p
ublic
String
unitName
;
p
rivate
String
businessPrimaryType
;
p
ublic
String
businessPrimaryType
;
p
rivate
String
businessSecondType
;
p
ublic
String
businessSecondType
;
p
rivate
String
businessThirdType
;
p
ublic
String
businessThirdType
;
p
rivate
String
workingHours
;
p
ublic
String
workingHours
;
p
rivate
String
tryPeriod
;
p
ublic
String
tryPeriod
;
p
rivate
Date
enjoinDate
;
p
ublic
Date
enjoinDate
;
p
rivate
String
post
;
p
ublic
String
post
;
p
rivate
String
empProjectId
;
p
ublic
String
empProjectId
;
p
rivate
String
contactInfoId
;
p
ublic
String
contactInfoId
;
p
rivate
String
disabilityFlag
;
p
ublic
String
disabilityFlag
;
p
rivate
String
badRecordFlag
;
p
ublic
String
badRecordFlag
;
p
rivate
String
educationFlag
;
p
ublic
String
educationFlag
;
p
rivate
String
familyFlag
;
p
ublic
String
familyFlag
;
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeContractInfoServiceImpl.java
View file @
cd3cb031
...
...
@@ -36,6 +36,8 @@ import com.yifu.cloud.plus.v1.yifu.archives.constants.EmployeeContractConstants;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TEmployeeContractInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TEmployeeInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpMainMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmployeeProjectMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.*
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CacheConstants
;
...
...
@@ -67,10 +69,7 @@ import java.lang.reflect.Field;
import
java.math.BigDecimal
;
import
java.net.URLEncoder
;
import
java.time.LocalDateTime
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.*
;
/**
* 员工合同
...
...
@@ -96,6 +95,8 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
private
final
TEmployeeContractAuditService
tEmployeeContractAuditService
;
private
final
TEmployeeLogService
tEmployeeLogService
;
private
final
TWorkHandlerInfoService
workHandlerInfoService
;
private
final
TPreEmpMainMapper
preEmpMainMapper
;
private
final
TPreEmployeeProjectMapper
preEmployeeProjectMapper
;
@Autowired
private
DaprSocialProperties
socialProperties
;
// 缓存信息
...
...
@@ -1616,6 +1617,27 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
tEmployeeInfo
.
setContractStatus
(
CommonConstants
.
ONE_INT
);
tEmployeeInfoMapper
.
updateById
(
tEmployeeInfo
);
}
//签订类型正常签订的时候更新预入职列表
if
(
EmployeeConstants
.
SITUATION_ONE
.
equals
(
contract
.
getSituation
()))
{
//根据项目编码和身份证号查询预入职列表
TPreEmpMain
empMain
=
preEmpMainMapper
.
selectOne
(
Wrappers
.<
TPreEmpMain
>
query
()
.
lambda
().
eq
(
TPreEmpMain:
:
getEmpIdcard
,
contract
.
getEmpIdcard
())
.
eq
(
TPreEmpMain:
:
getDeptNo
,
contract
.
getDeptNo
()));
if
(
Optional
.
ofNullable
(
empMain
).
isPresent
())
{
//查询预入职项目档案表
TPreEmployeeProject
preEmployeeProject
=
preEmployeeProjectMapper
.
selectOne
(
Wrappers
.<
TPreEmployeeProject
>
query
()
.
lambda
().
eq
(
TPreEmployeeProject:
:
getPreMainId
,
empMain
.
getId
()));
if
(
Optional
.
ofNullable
(
preEmployeeProject
).
isPresent
())
{
preEmployeeProject
.
setContractType
(
contract
.
getContractType
());
preEmployeeProject
.
setWorkingHours
(
contract
.
getWorkingHours
());
preEmployeeProject
.
setPost
(
contract
.
getPost
());
preEmployeeProject
.
setEnjoinDate
(
LocalDateTimeUtils
.
convertLDTToDate
(
contract
.
getEnjoinDate
()));
preEmployeeProject
.
setTryPeriod
(
contract
.
getTryPeriod
());
preEmployeeProjectMapper
.
updateById
(
preEmployeeProject
);
}
}
}
}
else
{
//是否同步终止合同、减项、减档为是的时候 单独写逻辑
if
(
EmployeeConstants
.
SITUATION_SEVEN
.
equals
(
contract
.
getSituation
())
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TCompleteMonitorMapper.xml
View file @
cd3cb031
...
...
@@ -160,6 +160,7 @@
a.UNIT_NO,
a.DEPT_NAME,
a.DEPT_NO,
a.DEPT_ID,
a.BUSINESS_PRIMARY_TYPE,
,a.BUSINESS_SECOND_TYPE,
,a.BUSINESS_THIRD_TYPE,
...
...
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