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
830df433
Commit
830df433
authored
Jul 01, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.6.6' into MVP1.6.6
parents
a731ccb2
cdde4a91
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
TCompleteMonitorController.java
.../yifu/archives/controller/TCompleteMonitorController.java
+2
-2
TCompleteMonitorMapper.xml
...-biz/src/main/resources/mapper/TCompleteMonitorMapper.xml
+5
-5
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TCompleteMonitorController.java
View file @
830df433
...
...
@@ -123,8 +123,8 @@ public class TCompleteMonitorController {
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询"
)
@GetMapping
(
"/
{infoI
d}"
)
public
R
<
EmpMainDetailVo
>
getInfoById
(
@PathVariable
(
"i
nfoI
d"
)
String
infoId
)
{
@GetMapping
(
"/
infoId/{i
d}"
)
public
R
<
EmpMainDetailVo
>
getInfoById
(
@PathVariable
(
"id"
)
String
infoId
)
{
return
tCompleteMonitorService
.
getInfoById
(
infoId
);
}
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TCompleteMonitorMapper.xml
View file @
830df433
...
...
@@ -165,16 +165,16 @@
a.BUSINESS_SECOND_TYPE,
a.BUSINESS_THIRD_TYPE,
count(a.EMP_IDCARD) as INUSE_PERSON_NUM,
if(sum(if(a.
PROJECT_STATUS = 0 and a.
IS_COMPLETE = '0',0,1)) > 0,1,0) as IS_COMPLETE,
if(sum(if(a.IS_COMPLETE = '0',0,1)) > 0,1,0) as IS_COMPLETE,
sum(if(a.IS_COMPLETE = '0',0,1)) as INCOMPLETE_NUM,
concat(ROUND((count(a.EMP_IDCARD) - sum(if(a.IS_COMPLETE = '0',0,1)))/count(a.EMP_IDCARD)),'%') as COMPLETE_PER,
sum(if(
a.PROJECT_STATUS = 0 and
DATE_FORMAT(a.CREATE_TIME,'%Y-%m-%d') >= '2024-06-01',1,0)) as AFTER_EMPLOYMENT,
if(sum(if(
a.PROJECT_STATUS = 0 and
DATE_FORMAT(a.CREATE_TIME,'%Y-%m-%d') >= '2024-06-01' and a.IS_COMPLETE = '0',0,1)) > 0,1,0) AFTER_IS_COMPLETE,
sum(if(
a.PROJECT_STATUS = 0 and
DATE_FORMAT(a.CREATE_TIME,'%Y-%m-%d') >= '2024-06-01' and a.IS_COMPLETE = '1',1,0)) as AFTER_INCOMPLETE_NUM,
sum(if(DATE_FORMAT(a.CREATE_TIME,'%Y-%m-%d') >= '2024-06-01',1,0)) as AFTER_EMPLOYMENT,
if(sum(if(DATE_FORMAT(a.CREATE_TIME,'%Y-%m-%d') >= '2024-06-01' and a.IS_COMPLETE = '0',0,1)) > 0,1,0) AFTER_IS_COMPLETE,
sum(if(DATE_FORMAT(a.CREATE_TIME,'%Y-%m-%d') >= '2024-06-01' and a.IS_COMPLETE = '1',1,0)) as AFTER_INCOMPLETE_NUM,
a.CREATE_NAME as ALERT_USER
from
t_employee_project a
where DELETE_FLAG = '0'
where DELETE_FLAG = '0'
and PROJECT_STATUS = 0
<if
test=
"deptNo != null and deptNo.trim() != ''"
>
and a.DEPT_NO = #{deptNo}
</if>
...
...
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