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
d2d23372
Commit
d2d23372
authored
Jan 16, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.4' into MVP1.4
parents
db3d0b59
6dbf88b9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
28 deletions
+21
-28
TEmployeeProjectServiceImpl.java
...fu/archives/service/impl/TEmployeeProjectServiceImpl.java
+1
-8
TEmployeeProjectMapper.xml
...-biz/src/main/resources/mapper/TEmployeeProjectMapper.xml
+2
-2
TVacationInfoMapper.xml
...ess-biz/src/main/resources/mapper/TVacationInfoMapper.xml
+18
-18
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeProjectServiceImpl.java
View file @
d2d23372
...
@@ -1526,14 +1526,13 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
...
@@ -1526,14 +1526,13 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
public
EmployeeBusinessDetailVo
getEmployeeBusinessInfoById
(
String
empId
,
String
settleDomain
)
{
public
EmployeeBusinessDetailVo
getEmployeeBusinessInfoById
(
String
empId
,
String
settleDomain
)
{
EmployeeBusinessDetailVo
businessDetailVo
=
new
EmployeeBusinessDetailVo
();
EmployeeBusinessDetailVo
businessDetailVo
=
new
EmployeeBusinessDetailVo
();
TEmployeeProject
employeeInfo
=
baseMapper
.
selectById
(
empId
);
TEmployeeProject
employeeInfo
=
baseMapper
.
selectById
(
empId
);
TEmployeeInfo
employee
=
null
;
EmployeeBusinessVo
businessVo
=
new
EmployeeBusinessVo
();
EmployeeBusinessVo
businessVo
=
new
EmployeeBusinessVo
();
// 有档案数据封装数据 无数据直接返回
// 有档案数据封装数据 无数据直接返回
if
(
null
==
employeeInfo
){
if
(
null
==
employeeInfo
){
return
businessDetailVo
;
return
businessDetailVo
;
}
else
{
}
else
{
TBusinessEmployeeExtendInfo
tBusinessEmployeeExtendInfo
=
this
.
businessEmployeeExtendInfoService
.
getByEmpIdCard
(
employeeInfo
.
getEmpIdcard
());
TBusinessEmployeeExtendInfo
tBusinessEmployeeExtendInfo
=
this
.
businessEmployeeExtendInfoService
.
getByEmpIdCard
(
employeeInfo
.
getEmpIdcard
());
employee
=
tEmployeeInfoMapper
.
selectById
(
employeeInfo
.
getEmpId
());
TEmployeeInfo
employee
=
tEmployeeInfoMapper
.
selectById
(
employeeInfo
.
getEmpId
());
initEmpBusinessInfo
(
employeeInfo
,
employee
,
businessVo
,
tBusinessEmployeeExtendInfo
);
initEmpBusinessInfo
(
employeeInfo
,
employee
,
businessVo
,
tBusinessEmployeeExtendInfo
);
}
}
...
@@ -1570,12 +1569,6 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
...
@@ -1570,12 +1569,6 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
businessVo
.
setEducationName
(
empEducation
.
getEducationName
());
businessVo
.
setEducationName
(
empEducation
.
getEducationName
());
}
}
}
}
// 处理人员离职信息 和社保公积金派减信息
if
(
employee
!=
null
)
{
businessVo
.
setLeaveDate
(
employee
.
getLeaveTime
());
businessVo
.
setLeaveReason
(
employee
.
getLeaveReason
());
businessVo
.
setLeaveRemark
(
employee
.
getLeaveRemark
());
}
// 获取社保和公积金派减信息
// 获取社保和公积金派减信息
SocialAndFundReduceVo
vo
=
new
SocialAndFundReduceVo
();
SocialAndFundReduceVo
vo
=
new
SocialAndFundReduceVo
();
vo
.
setEmpId
(
empId
);
vo
.
setEmpId
(
empId
);
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeProjectMapper.xml
View file @
d2d23372
...
@@ -886,13 +886,13 @@
...
@@ -886,13 +886,13 @@
a.DEPT_ID SETTLE_DOMAIN,
a.DEPT_ID SETTLE_DOMAIN,
b.DEPART_NAME,
b.DEPART_NAME,
b.DEPART_ID,
b.DEPART_ID,
b.
BUSINESS_POST,
if(b.BUSINESS_POST is not null, b.BUSINESS_POST, a.POST) as
BUSINESS_POST,
b.BUSINESS_TELECOM_NUMBER,
b.BUSINESS_TELECOM_NUMBER,
b.EMPLOYEE_TAGS,
b.EMPLOYEE_TAGS,
if(b.BUSINESS_WORKING_STATUS is not null, b.BUSINESS_WORKING_STATUS, a.PROJECT_STATUS) as BUSINESS_WORKING_STATUS,
if(b.BUSINESS_WORKING_STATUS is not null, b.BUSINESS_WORKING_STATUS, a.PROJECT_STATUS) as BUSINESS_WORKING_STATUS,
a.PROJECT_STATUS WORK_FLAG,
a.PROJECT_STATUS WORK_FLAG,
a.STATUS WORKING_STATUS_SUB,
a.STATUS WORKING_STATUS_SUB,
if(b.BUSINESS_LEAVE_DATE is not null, b.BUSINESS_LEAVE_DATE, a.LEAVE_TIME) as
BUSINESS_LEAVE_DATE,
b.
BUSINESS_LEAVE_DATE,
b.DOCUMENT_TYPE,
b.DOCUMENT_TYPE,
c.DEPART_NAME as SETTLE_DOMAIN_NAME
c.DEPART_NAME as SETTLE_DOMAIN_NAME
FROM t_employee_project a
FROM t_employee_project a
...
...
yifu-business/yifu-business-biz/src/main/resources/mapper/TVacationInfoMapper.xml
View file @
d2d23372
...
@@ -75,24 +75,24 @@
...
@@ -75,24 +75,24 @@
a.VACATION_END_TIME between #{query.vacationStartTime} and #{query.vacationEndTime}
a.VACATION_END_TIME between #{query.vacationStartTime} and #{query.vacationEndTime}
)
)
</if>
</if>
<if
test=
"query.vacationStatus != null and query.vacationStatus.trim() != ''"
>
<if
test=
"query.vacationStatus != null and query.vacationStatus.trim() != ''"
>
<!-- 待休 -->
<!-- 待休 -->
<if
test=
"query.vacationStatus == '0'.toString()"
>
<if
test=
"query.vacationStatus == '0'.toString()"
>
and now()
<![CDATA[<]]>
a.VACATION_START_TIME
and now()
<![CDATA[<]]>
a.VACATION_START_TIME and a.VACATION_STATUS = '4'
</if>
</if>
<!-- 休假中 -->
<!-- 休假中 -->
<if
test=
"query.vacationStatus == '1'.toString()"
>
<if
test=
"query.vacationStatus == '1'.toString()"
>
and now()
<![CDATA[>=]]>
a.VACATION_START_TIME and now()
<![CDATA[<=]]>
a.VACATION_END_TIME
and now()
<![CDATA[>=]]>
a.VACATION_START_TIME and now()
<![CDATA[<=]]>
a.VACATION_END_TIME and a.VACATION_STATUS = '4'
</if>
</if>
<!-- 到期待销假 -->
<!-- 到期待销假 -->
<if
test=
"query.vacationStatus == '2'.toString()"
>
<if
test=
"query.vacationStatus == '2'.toString()"
>
and now()
<![CDATA[>]]>
a.VACATION_END_TIME and a.VACATION_STATUS = '4'
and now()
<![CDATA[>]]>
a.VACATION_END_TIME and a.VACATION_STATUS = '4'
</if>
</if>
<!-- 已销假 -->
<!-- 已销假 -->
<if
test=
"query.vacationStatus == '3'.toString()"
>
<if
test=
"query.vacationStatus == '3'.toString()"
>
and a.VACATION_STATUS
<![CDATA[<>]]>
'4'
and a.VACATION_STATUS
<![CDATA[<>]]>
'4'
</if>
</if>
</if>
</if>
</sql>
</sql>
<select
id=
"getListByPage"
resultMap=
"TVacationInfoVO"
>
<select
id=
"getListByPage"
resultMap=
"TVacationInfoVO"
>
...
...
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