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
6f62ad7a
Commit
6f62ad7a
authored
Mar 01, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.5.1' into MVP1.5.1
parents
8fad6995
62a4368a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
SalaryProveController.java
...us/v1/yifu/archives/controller/SalaryProveController.java
+9
-1
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/SalaryProveController.java
View file @
6f62ad7a
...
@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
...
@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.constants.ArchivesConstants
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.utils.NumberToCN
;
import
com.yifu.cloud.plus.v1.yifu.archives.utils.NumberToCN
;
...
@@ -160,7 +161,14 @@ public class SalaryProveController {
...
@@ -160,7 +161,14 @@ public class SalaryProveController {
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
proveType
))
{
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
proveType
))
{
//正式员工证明
//正式员工证明
//合同信息
//合同信息
List
<
TEmployeeContractInfo
>
contractList
=
employeeContractInfoService
.
list
(
Wrappers
.<
TEmployeeContractInfo
>
lambdaQuery
().
eq
(
TEmployeeContractInfo:
:
getEmpId
,
emId
).
eq
(
TEmployeeContractInfo:
:
getIsObsolete
,
CommonConstants
.
ZERO_STRING
).
orderByDesc
(
TEmployeeContractInfo:
:
getContractStart
));
List
<
TEmployeeContractInfo
>
contractList
=
employeeContractInfoService
.
list
(
Wrappers
.<
TEmployeeContractInfo
>
lambdaQuery
()
.
eq
(
TEmployeeContractInfo:
:
getEmpId
,
em
.
getEmpId
())
.
eq
(
TEmployeeContractInfo:
:
getSettleDomain
,
em
.
getDeptId
())
.
eq
(
TEmployeeContractInfo:
:
getIsObsolete
,
CommonConstants
.
ZERO_STRING
)
.
ne
(
TEmployeeContractInfo:
:
getSituation
,
ArchivesConstants
.
contractSituation
[
0
])
.
ne
(
TEmployeeContractInfo:
:
getSituation
,
ArchivesConstants
.
contractSituation
[
6
])
.
isNotNull
(
TEmployeeContractInfo:
:
getAuditTimeLast
)
.
orderByDesc
(
TEmployeeContractInfo:
:
getContractStart
));
if
(
Common
.
isNotNull
(
contractList
))
{
if
(
Common
.
isNotNull
(
contractList
))
{
record
.
setContractEndDate
(
contractList
.
get
(
0
).
getContractEnd
());
record
.
setContractEndDate
(
contractList
.
get
(
0
).
getContractEnd
());
record
.
setContractType
(
contractList
.
get
(
0
).
getContractType
());
record
.
setContractType
(
contractList
.
get
(
0
).
getContractType
());
...
...
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