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
c0e081d0
Commit
c0e081d0
authored
Sep 10, 2024
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-档案完整度监控查询条件修改
parent
cfd563ba
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
45 additions
and
11 deletions
+45
-11
TCompleteMonitorInfoVo.java
...loud/plus/v1/yifu/archives/vo/TCompleteMonitorInfoVo.java
+14
-0
TCompleteMonitorController.java
.../yifu/archives/controller/TCompleteMonitorController.java
+3
-3
TCompleteMonitorMapper.java
.../plus/v1/yifu/archives/mapper/TCompleteMonitorMapper.java
+2
-2
TCompleteMonitorService.java
...lus/v1/yifu/archives/service/TCompleteMonitorService.java
+2
-2
TCompleteMonitorServiceImpl.java
...fu/archives/service/impl/TCompleteMonitorServiceImpl.java
+3
-3
TCompleteMonitorMapper.xml
...-biz/src/main/resources/mapper/TCompleteMonitorMapper.xml
+21
-1
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TCompleteMonitorInfoVo.java
View file @
c0e081d0
...
@@ -34,4 +34,18 @@ public class TCompleteMonitorInfoVo implements Serializable {
...
@@ -34,4 +34,18 @@ public class TCompleteMonitorInfoVo implements Serializable {
@Schema
(
description
=
"人员档案id"
)
@Schema
(
description
=
"人员档案id"
)
private
String
empInfoId
;
private
String
empInfoId
;
@Schema
(
description
=
"项目编码"
)
private
String
deptNo
;
/**
* 开始时间(查询专用)
*/
@Schema
(
description
=
"进项目时间开始"
)
private
LocalDateTime
inTimeStart
;
/**
* 截止时间(查询专用)
*/
@Schema
(
description
=
"进项目时间结束"
)
private
LocalDateTime
inTimeEnd
;
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TCompleteMonitorController.java
View file @
c0e081d0
...
@@ -70,13 +70,13 @@ public class TCompleteMonitorController {
...
@@ -70,13 +70,13 @@ public class TCompleteMonitorController {
/**
/**
* 查询人员明细
* 查询人员明细
* @param page 分页对象
* @param page 分页对象
* @param
deptNo 查询人员明细
* @param
completeMonitorInfoVo
* @return
* @return
*/
*/
@Operation
(
description
=
"根据项目查询人员明细"
)
@Operation
(
description
=
"根据项目查询人员明细"
)
@GetMapping
(
"/empPage"
)
@GetMapping
(
"/empPage"
)
public
R
<
IPage
<
TCompleteMonitorInfoVo
>>
getMonitorEmpInfoListPage
(
Page
<
TCompleteMonitorInfoVo
>
page
,
String
deptN
o
)
{
public
R
<
IPage
<
TCompleteMonitorInfoVo
>>
getMonitorEmpInfoListPage
(
Page
<
TCompleteMonitorInfoVo
>
page
,
TCompleteMonitorInfoVo
completeMonitorInfoV
o
)
{
return
new
R
<>(
tCompleteMonitorService
.
getMonitorEmpInfoListPage
(
page
,
deptN
o
));
return
new
R
<>(
tCompleteMonitorService
.
getMonitorEmpInfoListPage
(
page
,
completeMonitorInfoV
o
));
}
}
/**
/**
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TCompleteMonitorMapper.java
View file @
c0e081d0
...
@@ -60,10 +60,10 @@ public interface TCompleteMonitorMapper extends BaseMapper<TCompleteMonitor> {
...
@@ -60,10 +60,10 @@ public interface TCompleteMonitorMapper extends BaseMapper<TCompleteMonitor> {
/**
/**
* 查询人员明细
* 查询人员明细
* @param
deptNo 项目编码
* @param
completeMonitorInfoVo
* @return
* @return
*/
*/
IPage
<
TCompleteMonitorInfoVo
>
getMonitorEmpInfoList
(
Page
<
TCompleteMonitorInfoVo
>
page
,
@Param
(
"
deptNo"
)
String
deptN
o
);
IPage
<
TCompleteMonitorInfoVo
>
getMonitorEmpInfoList
(
Page
<
TCompleteMonitorInfoVo
>
page
,
@Param
(
"
completeMonitorInfoVo"
)
TCompleteMonitorInfoVo
completeMonitorInfoV
o
);
/**
/**
* 获取所有监控数据
* 获取所有监控数据
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TCompleteMonitorService.java
View file @
c0e081d0
...
@@ -55,10 +55,10 @@ public interface TCompleteMonitorService extends IService<TCompleteMonitor> {
...
@@ -55,10 +55,10 @@ public interface TCompleteMonitorService extends IService<TCompleteMonitor> {
/**
/**
* 档案完整度监控简单分页查询
* 档案完整度监控简单分页查询
* @param
deptNo 项目编码
* @param
completeMonitorInfoVo
* @return
* @return
*/
*/
IPage
<
TCompleteMonitorInfoVo
>
getMonitorEmpInfoListPage
(
Page
<
TCompleteMonitorInfoVo
>
page
,
String
deptN
o
);
IPage
<
TCompleteMonitorInfoVo
>
getMonitorEmpInfoListPage
(
Page
<
TCompleteMonitorInfoVo
>
page
,
TCompleteMonitorInfoVo
completeMonitorInfoV
o
);
// 导出全量
// 导出全量
void
exportAll
(
HttpServletResponse
response
,
TCompleteMonitorSearchVo
searchVo
);
void
exportAll
(
HttpServletResponse
response
,
TCompleteMonitorSearchVo
searchVo
);
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TCompleteMonitorServiceImpl.java
View file @
c0e081d0
...
@@ -180,12 +180,12 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap
...
@@ -180,12 +180,12 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap
/**
/**
* 档案完整度监控简单分页查询
* 档案完整度监控简单分页查询
* @param
deptNo 项目编码
* @param
completeMonitorInfoVo
* @return
* @return
*/
*/
@Override
@Override
public
IPage
<
TCompleteMonitorInfoVo
>
getMonitorEmpInfoListPage
(
Page
<
TCompleteMonitorInfoVo
>
page
,
String
deptN
o
){
public
IPage
<
TCompleteMonitorInfoVo
>
getMonitorEmpInfoListPage
(
Page
<
TCompleteMonitorInfoVo
>
page
,
TCompleteMonitorInfoVo
completeMonitorInfoV
o
){
return
baseMapper
.
getMonitorEmpInfoList
(
page
,
deptN
o
);
return
baseMapper
.
getMonitorEmpInfoList
(
page
,
completeMonitorInfoV
o
);
}
}
@Override
@Override
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TCompleteMonitorMapper.xml
View file @
c0e081d0
...
@@ -150,7 +150,27 @@
...
@@ -150,7 +150,27 @@
from
from
t_employee_project a
t_employee_project a
left join t_employee_info b on a.EMP_ID = b.id
left join t_employee_info b on a.EMP_ID = b.id
where a.DELETE_FLAG = '0' and a.project_status = 0 and a.dept_no = #{deptNo} order by a.CREATE_TIME desc
where a.DELETE_FLAG = '0'
and a.project_status = 0
<if
test=
"completeMonitorInfoVo.deptNo != null and completeMonitorInfoVo.deptNo.trim() != ''"
>
and a.dept_no = #{completeMonitorInfoVo.deptNo}
</if>
<if
test=
"completeMonitorInfoVo.empName != null and completeMonitorInfoVo.empName.trim() != ''"
>
and a.EMP_NAME = #{completeMonitorInfoVo.empName}
</if>
<if
test=
"completeMonitorInfoVo.phone != null and completeMonitorInfoVo.phone.trim() != ''"
>
and a.EMP_PHONE = #{completeMonitorInfoVo.phone}
</if>
<if
test=
"completeMonitorInfoVo.isComplete != null and completeMonitorInfoVo.isComplete.trim() != ''"
>
and a.IS_COMPLETE = #{completeMonitorInfoVo.isComplete}
</if>
<if
test=
"completeMonitorInfoVo.inTimeStart != null"
>
AND a.CREATE_TIME
<![CDATA[ >= ]]>
#{completeMonitorInfoVo.inTimeStart}
</if>
<if
test=
"completeMonitorInfoVo.inTimeEnd != null"
>
AND a.CREATE_TIME
<![CDATA[ <= ]]>
#{completeMonitorInfoVo.inTimeEnd}
</if>
order by a.CREATE_TIME desc
</select>
</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