|
@@ -465,7 +465,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
FROM
|
|
|
t_u_interfaceinfo
|
|
|
WHERE
|
|
|
- dept_id != ''
|
|
|
+ dept_id != '' and del_flag = '0'
|
|
|
GROUP BY
|
|
|
dept_id
|
|
|
ORDER BY
|
|
@@ -477,14 +477,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="getImputationDataRanking" resultMap="TUInterfaceinfoResult">
|
|
|
SELECT
|
|
|
SUM(callsuccnum) count,
|
|
|
- dept_id,
|
|
|
- dept_name
|
|
|
+ t.dept_id,
|
|
|
+ t.dept_name
|
|
|
FROM
|
|
|
- t_u_interfaceinfo
|
|
|
+ t.t_u_interfaceinfo t
|
|
|
WHERE
|
|
|
- dept_id != ''
|
|
|
+ t.dept_id != '' and t.del_flag = '0' and t.share_type = 'share_type_2'
|
|
|
GROUP BY
|
|
|
- dept_id
|
|
|
+ t.dept_id
|
|
|
ORDER BY
|
|
|
count DESC
|
|
|
LIMIT 0,
|