wangliang 8 kuukautta sitten
vanhempi
commit
faee58f2ad

+ 3 - 3
sop-business/src/main/resources/mapper/QualityAnalyseReportMapper.xml

@@ -23,7 +23,7 @@
         join t_f_flow_approve tffa on tffa.flow_id = tfcfe.flow_id
         where tbqpa.service_id = #{serviceId}
         and tbs.status <![CDATA[ <> ]]> 'CANCEL'
-        and tffa.status <![CDATA[ <> ]]> 'END'
+        and tffa.status = 'FINISH'
         and tbqpa.Influence_degree is not null
         group by su.real_name,tbc.lead_id) t
         order by t.sum desc
@@ -54,7 +54,7 @@
         join t_f_flow_approve tffa on tffa.flow_id = tfcfe.flow_id
         where tbqpa.service_id = #{serviceId}
         and tbs.status <![CDATA[ <> ]]> 'CANCEL'
-        and tffa.status <![CDATA[ <> ]]> 'END'
+        and tffa.status = 'FINISH'
         and tbqpa.Influence_degree is not null
         group by su.mobile_number) t
         left join t_b_user_archives tbua on tbua.mobile_number = t.mobileNumber
@@ -73,7 +73,7 @@
         join t_f_flow_approve tffa on tffa.flow_id = tfcfe.flow_id
         where tbqpa.service_id = #{serviceId}
         and tbs.status <![CDATA[ <> ]]> 'CANCEL'
-        and tffa.status <![CDATA[ <> ]]> 'END'
+        and tffa.status = 'FINISH'
         and tbqpa.reason is not null
         group by tbqpa.reason) t order by t.reasonSum desc
     </select>