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
f2ebd2d3
Commit
f2ebd2d3
authored
Nov 24, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.17-离职待办-派单暂存
parent
9ef88f9a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
0 deletions
+42
-0
TEmpContractAlertController.java
...yifu/archives/controller/TEmpContractAlertController.java
+12
-0
TEmpContractAlertService.java
...us/v1/yifu/archives/service/TEmpContractAlertService.java
+1
-0
TEmpContractAlertServiceImpl.java
...u/archives/service/impl/TEmpContractAlertServiceImpl.java
+29
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TEmpContractAlertController.java
View file @
f2ebd2d3
...
@@ -94,6 +94,18 @@ public class TEmpContractAlertController {
...
@@ -94,6 +94,18 @@ public class TEmpContractAlertController {
setAuth
(
searchVo
);
setAuth
(
searchVo
);
return
R
.
ok
(
tEmpContractAlertService
.
getAutoContractCount
(
searchVo
));
return
R
.
ok
(
tEmpContractAlertService
.
getAutoContractCount
(
searchVo
));
}
}
/**
* 不分页查询
* @param searchVo 员工合同续签待办
* @return
*/
@Operation
(
summary
=
"给自动化用的-导出-不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPageToAuto"
)
public
R
<
List
<
TEmpContractAlert
>>
noPageToAuto
(
@RequestBody
ContractAlertSearchVo
searchVo
)
{
setAuth
(
searchVo
);
return
R
.
ok
(
tEmpContractAlertService
.
noPageToAuto
(
searchVo
));
}
/**
/**
* 不分页查询
* 不分页查询
* @param searchVo 员工合同续签待办
* @param searchVo 员工合同续签待办
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TEmpContractAlertService.java
View file @
f2ebd2d3
...
@@ -46,6 +46,7 @@ public interface TEmpContractAlertService extends IService<TEmpContractAlert> {
...
@@ -46,6 +46,7 @@ public interface TEmpContractAlertService extends IService<TEmpContractAlert> {
// 合同待续签数量查询
// 合同待续签数量查询
long
getAutoContractCount
(
ContractAlertSearchVo
searchVo
);
long
getAutoContractCount
(
ContractAlertSearchVo
searchVo
);
List
<
TEmpContractAlert
>
noPageToAuto
(
ContractAlertSearchVo
searchVo
);
List
<
TEmpContractAlert
>
listDiy
(
ContractAlertSearchVo
searchVo
);
List
<
TEmpContractAlert
>
listDiy
(
ContractAlertSearchVo
searchVo
);
void
listExport
(
HttpServletResponse
response
,
ContractAlertSearchVo
searchVo
);
void
listExport
(
HttpServletResponse
response
,
ContractAlertSearchVo
searchVo
);
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpContractAlertServiceImpl.java
View file @
f2ebd2d3
...
@@ -160,6 +160,35 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
...
@@ -160,6 +160,35 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
return
baseMapper
.
selectPage
(
page
,
wrapper
);
return
baseMapper
.
selectPage
(
page
,
wrapper
);
}
}
@Override
public
List
<
TEmpContractAlert
>
noPageToAuto
(
ContractAlertSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TEmpContractAlert
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
wrapper
.
isNotNull
(
TEmpContractAlert:
:
getId
);
List
<
String
>
deptList
=
tAutoMainRelMapper
.
getAutoDeptNo
();
if
(
deptList
!=
null
&&
!
deptList
.
isEmpty
())
{
wrapper
.
in
(
TEmpContractAlert:
:
getProjectNo
,
deptList
);
}
if
(
Common
.
isNotNull
(
idList
)){
wrapper
.
in
(
TEmpContractAlert:
:
getId
,
idList
);
}
if
(
Common
.
isNotNull
(
searchVo
.
getContractEndStart
())){
wrapper
.
ge
(
TEmpContractAlert:
:
getContractEnd
,
searchVo
.
getContractEndStart
());
}
if
(
Common
.
isNotNull
(
searchVo
.
getContractEndEnd
())){
wrapper
.
le
(
TEmpContractAlert:
:
getContractEnd
,
searchVo
.
getContractEndEnd
());
}
if
(
Common
.
isNotNull
(
searchVo
.
getAuthSql
()))
{
if
(
Common
.
isNotNull
(
searchVo
.
getAuthSql
())
&&
searchVo
.
getAuthSql
().
contains
(
"a."
))
{
searchVo
.
setAuthSql
(
searchVo
.
getAuthSql
().
replace
(
"a."
,
" "
));
}
wrapper
.
last
(
searchVo
.
getAuthSql
());
}
return
baseMapper
.
selectList
(
wrapper
);
}
@Override
@Override
public
List
<
TEmpContractAlert
>
listDiy
(
ContractAlertSearchVo
searchVo
)
{
public
List
<
TEmpContractAlert
>
listDiy
(
ContractAlertSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TEmpContractAlert
>
wrapper
=
buildQueryWrapper
(
searchVo
);
LambdaQueryWrapper
<
TEmpContractAlert
>
wrapper
=
buildQueryWrapper
(
searchVo
);
...
...
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