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
9b0f192f
Commit
9b0f192f
authored
Sep 11, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.6.10' into MVP1.6.10
parents
cc2f2537
c0e081d0
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
61 additions
and
14 deletions
+61
-14
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
QiWeiServiceImpl.java
...oud/plus/v1/permission/service/impl/QiWeiServiceImpl.java
+16
-3
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TCompleteMonitorInfoVo.java
View file @
9b0f192f
...
...
@@ -34,4 +34,18 @@ public class TCompleteMonitorInfoVo implements Serializable {
@Schema
(
description
=
"人员档案id"
)
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 @
9b0f192f
...
...
@@ -70,13 +70,13 @@ public class TCompleteMonitorController {
/**
* 查询人员明细
* @param page 分页对象
* @param
deptNo 查询人员明细
* @param
completeMonitorInfoVo
* @return
*/
@Operation
(
description
=
"根据项目查询人员明细"
)
@GetMapping
(
"/empPage"
)
public
R
<
IPage
<
TCompleteMonitorInfoVo
>>
getMonitorEmpInfoListPage
(
Page
<
TCompleteMonitorInfoVo
>
page
,
String
deptN
o
)
{
return
new
R
<>(
tCompleteMonitorService
.
getMonitorEmpInfoListPage
(
page
,
deptN
o
));
public
R
<
IPage
<
TCompleteMonitorInfoVo
>>
getMonitorEmpInfoListPage
(
Page
<
TCompleteMonitorInfoVo
>
page
,
TCompleteMonitorInfoVo
completeMonitorInfoV
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 @
9b0f192f
...
...
@@ -60,10 +60,10 @@ public interface TCompleteMonitorMapper extends BaseMapper<TCompleteMonitor> {
/**
* 查询人员明细
* @param
deptNo 项目编码
* @param
completeMonitorInfoVo
* @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 @
9b0f192f
...
...
@@ -55,10 +55,10 @@ public interface TCompleteMonitorService extends IService<TCompleteMonitor> {
/**
* 档案完整度监控简单分页查询
* @param
deptNo 项目编码
* @param
completeMonitorInfoVo
* @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
);
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TCompleteMonitorServiceImpl.java
View file @
9b0f192f
...
...
@@ -180,12 +180,12 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap
/**
* 档案完整度监控简单分页查询
* @param
deptNo 项目编码
* @param
completeMonitorInfoVo
* @return
*/
@Override
public
IPage
<
TCompleteMonitorInfoVo
>
getMonitorEmpInfoListPage
(
Page
<
TCompleteMonitorInfoVo
>
page
,
String
deptN
o
){
return
baseMapper
.
getMonitorEmpInfoList
(
page
,
deptN
o
);
public
IPage
<
TCompleteMonitorInfoVo
>
getMonitorEmpInfoListPage
(
Page
<
TCompleteMonitorInfoVo
>
page
,
TCompleteMonitorInfoVo
completeMonitorInfoV
o
){
return
baseMapper
.
getMonitorEmpInfoList
(
page
,
completeMonitorInfoV
o
);
}
@Override
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TCompleteMonitorMapper.xml
View file @
9b0f192f
...
...
@@ -150,7 +150,27 @@
from
t_employee_project a
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>
<!--生成数据封装-->
...
...
yifu-permission/yifu-permission-biz/src/main/java/com/yifu/cloud/plus/v1/permission/service/impl/QiWeiServiceImpl.java
View file @
9b0f192f
...
...
@@ -1025,10 +1025,23 @@ public class QiWeiServiceImpl extends ServiceImpl<EkpQiweiChuchaiMapper, EkpQiwi
JSONArray
options
;
if
(
Common
.
isNotNull
(
value
))
{
options
=
(
JSONArray
)
value
.
get
(
"departments"
);
StringBuilder
deptName
=
new
StringBuilder
();
if
(
Common
.
isNotNull
(
options
))
{
options0
=
(
JSONObject
)
options
.
get
(
0
);
if
(
Common
.
isNotNull
(
options0
))
{
return
options0
.
getString
(
"name"
);
for
(
int
i
=
0
;
i
<
options
.
size
();
i
++)
{
options0
=
(
JSONObject
)
options
.
get
(
i
);
if
(
Common
.
isNotNull
(
options0
))
{
if
(
i
>
0
)
{
deptName
.
append
(
";"
);
}
deptName
.
append
(
options0
.
getString
(
"name"
));
}
}
if
(
Common
.
isNotNull
(
deptName
))
{
if
(
deptName
.
length
()
>
200
)
{
return
deptName
.
substring
(
0
,
200
);
}
else
{
return
deptName
.
toString
();
}
}
}
}
...
...
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