11
This commit is contained in:
1 parent
05480e806b
commit
b576031346
3 files changed
+8
-1
No files matched your search
+5
@@ -37,4 +37,9 @@ public class UserStaffingTotalVo {
|
||||
*/
|
||||
private Long totalPerson = 0L;
|
||||
|
||||
/**
|
||||
* 未填写人数
|
||||
*/
|
||||
private Long fillInPerson = 0L;
|
||||
|
||||
}
|
||||
+1
@@ -70,6 +70,7 @@ public class SysUserTotalServiceImpl implements SysUserTotalService {
|
||||
vo.setStaffingPerson(targetMap.getStaffingPerson());
|
||||
vo.setNoneStaffingPerson(targetMap.getNoneStaffingPerson());
|
||||
vo.setTotalPerson(targetMap.getTotalPerson());
|
||||
vo.setFillInPerson(targetMap.getFillInPerson());
|
||||
}
|
||||
|
||||
return disposeDeptList;
|
||||
|
||||
@@ -324,7 +324,8 @@
|
||||
count(0) as deptTotalPerson,
|
||||
sum(if(a.staffing_type = '1', 1, 0)) as staffingPerson,
|
||||
sum(if(a.staffing_type = '2', 1, 0)) as noneStaffingPerson,
|
||||
sum(if(a.staffing_type is not null, 1, 0)) as totalPerson
|
||||
sum(if(a.staffing_type is not null, 1, 0)) as totalPerson,
|
||||
sum(if(a.staffing_type is null, 1, 0)) as fillInPerson
|
||||
from sys_user a
|
||||
<where>
|
||||
a.del_flag = '0'
|
||||
|
||||
Reference in new issue
Block a user