@@ -456,7 +456,7 @@
<!-- 查询员工总量 -->
<select id="getStaffCount" parameterType="Map" resultType="Map">
select count(1) count
- u_user u
+ from u_user u
left join u_org_staff_rel uosr on u.user_id = uosr.staff_id and uosr.status_cd = '0'
left join u_org uo on uosr.org_id = uo.org_id and uo.status_cd = '0'
where u.level_cd = '01'