소스 검색

优化用户信息

wuxw 4 년 전
부모
커밋
589d59e722
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      java110-db/src/main/resources/mapper/user/UserServiceDaoImplMapper.xml

+ 1 - 1
java110-db/src/main/resources/mapper/user/UserServiceDaoImplMapper.xml

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