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
8d03f0f5
Commit
8d03f0f5
authored
Mar 27, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-入职登记提交
parent
d96623bc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
45 additions
and
0 deletions
+45
-0
EmployeeRegistrationController.java
...lus/v1/csp/controller/EmployeeRegistrationController.java
+14
-0
EmployeeRegistrationMapper.java
.../cloud/plus/v1/csp/mapper/EmployeeRegistrationMapper.java
+2
-0
EmployeeRegistrationService.java
...loud/plus/v1/csp/service/EmployeeRegistrationService.java
+7
-0
EmployeeRegistrationServiceImpl.java
.../v1/csp/service/impl/EmployeeRegistrationServiceImpl.java
+11
-0
EmployeeRegistrationMapper.xml
.../src/main/resources/mapper/EmployeeRegistrationMapper.xml
+11
-0
No files found.
yifu-csp/yifu-csp-biz/src/main/java/com/yifu/cloud/plus/v1/csp/controller/EmployeeRegistrationController.java
View file @
8d03f0f5
...
...
@@ -249,6 +249,20 @@ public class EmployeeRegistrationController {
return
new
R
<>(
employeeRegistrationService
.
getHrConfirmEmployeeRegistrationPage
(
page
,
employeeRegistration
));
}
/**
* 入职待确认列表查询身份证
*
* @param employeeRegistration 入离职登记表
* @return
*/
@Operation
(
description
=
"入职待确认列表简单分页查询"
)
@GetMapping
(
"/hrConfirmIdcardList"
)
public
R
<
List
<
String
>>
getHrConfirmIdcardList
(
EmployeeRegistrationSearchVo
employeeRegistration
)
{
YifuUser
user
=
SecurityUtils
.
getUser
();
menuUtil
.
setAuthSql
(
user
,
employeeRegistration
);
return
R
.
ok
(
employeeRegistrationService
.
getHrConfirmIdcardList
(
employeeRegistration
));
}
/**
* 入职待确认表 批量导出
*
...
...
yifu-csp/yifu-csp-biz/src/main/java/com/yifu/cloud/plus/v1/csp/mapper/EmployeeRegistrationMapper.java
View file @
8d03f0f5
...
...
@@ -27,6 +27,8 @@ public interface EmployeeRegistrationMapper extends BaseMapper<EmployeeRegistrat
*/
IPage
<
EmployeeRegistration
>
getEmployeeRegistrationPage
(
Page
<
EmployeeRegistration
>
page
,
@Param
(
"employeeRegistration"
)
EmployeeRegistrationSearchVo
employeeRegistration
);
List
<
String
>
getHrConfirmIdcardList
(
@Param
(
"employeeRegistration"
)
EmployeeRegistrationSearchVo
employeeRegistration
);
List
<
EmployeeRegistration
>
getEmployeeRegistrationList
(
@Param
(
"employeeRegistration"
)
EmployeeRegistrationSearchVo
employeeRegistration
);
long
selectExportCount
(
@Param
(
"employeeRegistration"
)
EmployeeRegistrationSearchVo
employeeRegistration
);
...
...
yifu-csp/yifu-csp-biz/src/main/java/com/yifu/cloud/plus/v1/csp/service/EmployeeRegistrationService.java
View file @
8d03f0f5
...
...
@@ -111,6 +111,13 @@ public interface EmployeeRegistrationService extends IService<EmployeeRegistrati
*/
void
hrConfirmExport
(
HttpServletResponse
response
,
EmployeeRegistrationSearchVo
searchVo
);
/**
* 入职待确认身份证查询
* @param searchVo 入离职登记
* @return
*/
List
<
String
>
getHrConfirmIdcardList
(
EmployeeRegistrationSearchVo
searchVo
);
/**
* 入职待确认表确认接收
* @param preVo 入离职登记
...
...
yifu-csp/yifu-csp-biz/src/main/java/com/yifu/cloud/plus/v1/csp/service/impl/EmployeeRegistrationServiceImpl.java
View file @
8d03f0f5
...
...
@@ -146,6 +146,17 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
return
baseMapper
.
getEmployeeRegistrationPage
(
page
,
employeeRegistration
);
}
@Override
public
List
<
String
>
getHrConfirmIdcardList
(
EmployeeRegistrationSearchVo
searchVo
)
{
//权限和条件赋值
initSearchVo
(
searchVo
);
if
(
Common
.
isEmpty
(
searchVo
.
getStatusList
()))
{
searchVo
.
setStatusList
(
CommonConstants
.
processPreStatus
);
}
searchVo
.
setTypeList
(
CommonConstants
.
processPreStatus
);
return
baseMapper
.
getHrConfirmIdcardList
(
searchVo
);
}
/**
* 入离职登记表批量导出
*
...
...
yifu-csp/yifu-csp-biz/src/main/resources/mapper/EmployeeRegistrationMapper.xml
View file @
8d03f0f5
...
...
@@ -244,6 +244,17 @@
order by a.create_time desc
</select>
<!--employeeRegistration简单分页查询-->
<select
id=
"getHrConfirmIdcardList"
resultType=
"java.lang.String"
>
SELECT
a.emp_idcard
FROM employee_registration a
<where>
1=1
<include
refid=
"employeeRegistration_where"
/>
</where>
</select>
<!--employeeRegistration简单分页查询-->
<select
id=
"getEmployeeRegistrationList"
resultMap=
"employeeRegistrationMap"
>
SELECT
...
...
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