chenrj-PC\chenrj 9 년 전
부모
커밋
9752c4afae
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      VisualInspection_server/src/main/java/com/xintong/visualinspection/mapper/cluster/UserInfoMapper.xml

+ 2 - 2
VisualInspection_server/src/main/java/com/xintong/visualinspection/mapper/cluster/UserInfoMapper.xml

@@ -98,13 +98,13 @@
     <select id="getUsersCenterManageCount" parameterType="com.xintong.visualinspection.bean.StatisticsBean"  resultType="java.lang.Integer">
     	SELECT  count(1)  FROM t_sys_users t 
     			INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id  
-    			WHERE t.status >0  AND t.positionid  in (1,6)  AND t.organid in ( SELECT id FROM t_sys_organ where parentid=#{dept_id} )  
+    			WHERE t.status >0  AND t.positionid  in (1,4,5,6)  AND t.organid in ( SELECT id FROM t_sys_organ where parentid=#{dept_id} )  
     </select>
     
     <select id="getUsersCountList"  resultType="com.xintong.visualinspection.bean.StatisticsBean">
     	SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t 
     			INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id  
-    			WHERE t.status >0  AND t.positionid  in (1,6) GROUP BY t.organid
+    			WHERE t.status >0  AND t.positionid  in (1,4,5,6) GROUP BY t.organid
 			ORDER BY t.organid 
     </select>