|
@@ -379,9 +379,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
d.dept_id,
|
|
|
d.dept_name
|
|
|
FROM
|
|
|
- t_u_interfaceinfo a
|
|
|
+ (select callsuccnum, callfailnum, share_type, dept_id from t_u_interfaceinfo where share_type is null or share_type = 'share_type_4') a
|
|
|
right join sys_dept d on a.dept_id = d.dept_id
|
|
|
- WHERE (a.share_type is null or a.share_type = 'share_type_4') and d.parent_id = '217' and d.del_flag = '0' and d.status = '0'
|
|
|
+ WHERE d.parent_id = '217' and d.del_flag = '0' and d.status = '0'
|
|
|
GROUP BY d.dept_id
|
|
|
ORDER BY count DESC
|
|
|
LIMIT 0, 5
|
|
@@ -393,9 +393,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
d.dept_id,
|
|
|
d.dept_name
|
|
|
FROM
|
|
|
- t_u_interfaceinfo a
|
|
|
+ (select callsuccnum, callfailnum, share_type, dept_id from t_u_interfaceinfo where share_type is null or share_type = 'share_type_1') a
|
|
|
right join sys_dept d on a.dept_id = d.dept_id
|
|
|
- WHERE (a.share_type is null or a.share_type = 'share_type_1') and d.parent_id = '214' and d.del_flag = '0' and d.status = '0'
|
|
|
+ WHERE d.parent_id = '214' and d.del_flag = '0' and d.status = '0'
|
|
|
GROUP BY d.dept_id
|
|
|
ORDER BY count DESC
|
|
|
LIMIT 0, 5
|
|
@@ -407,9 +407,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
d.dept_id,
|
|
|
d.dept_name
|
|
|
FROM
|
|
|
- t_u_interfaceinfo a
|
|
|
+ (select callsuccnum, callfailnum, share_type, dept_id from t_u_interfaceinfo where share_type is null or share_type = 'share_type_4') a
|
|
|
right join sys_dept d on a.dept_id = d.dept_id
|
|
|
- WHERE (a.share_type is null or a.share_type = 'share_type_4') and d.parent_id = '217' and d.del_flag = '0' and d.status = '0'
|
|
|
+ WHERE d.parent_id = '217' and d.del_flag = '0' and d.status = '0'
|
|
|
GROUP BY d.dept_id
|
|
|
ORDER BY count DESC
|
|
|
LIMIT 0, 20
|
|
@@ -421,9 +421,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
d.dept_id,
|
|
|
d.dept_name
|
|
|
FROM
|
|
|
- t_u_interfaceinfo a
|
|
|
+ (select callsuccnum, callfailnum, share_type, dept_id from t_u_interfaceinfo where share_type is null or share_type = 'share_type_1') a
|
|
|
right join sys_dept d on a.dept_id = d.dept_id
|
|
|
- WHERE (a.share_type is null or a.share_type = 'share_type_1') and d.parent_id = '214' and d.del_flag = '0' and d.status = '0'
|
|
|
+ WHERE d.parent_id = '214' and d.del_flag = '0' and d.status = '0'
|
|
|
GROUP BY d.dept_id
|
|
|
ORDER BY count DESC
|
|
|
LIMIT 0, 20
|