diff --git a/blade-service/logpm-report/src/main/java/com/logpm/report/mapper/ReportDeliverMapper.xml b/blade-service/logpm-report/src/main/java/com/logpm/report/mapper/ReportDeliverMapper.xml index 39f3ae8a4..6f7be516b 100644 --- a/blade-service/logpm-report/src/main/java/com/logpm/report/mapper/ReportDeliverMapper.xml +++ b/blade-service/logpm-report/src/main/java/com/logpm/report/mapper/ReportDeliverMapper.xml @@ -89,6 +89,7 @@ sum(if(t.is_abnormal_loading = 1, 0, 1)) exLoadedNum, sum(if(t.is_abnormal_signing = 1, 0, 1)) exReNum from logpm_distribution_loadscan t + where t.scan_status != 1 group by t.delivery_id) loadScan on loadScan.delivery_id = d.id left join (select t.delivery_id, @@ -215,6 +216,7 @@ sum(if(t.is_abnormal_loading = 1, 0, 1)) exLoadedNum, sum(if(t.is_abnormal_signing = 1, 0, 1)) exReNum from logpm_distribution_loadscan t + where t.scan_status != 1 group by t.delivery_id) loadScan on loadScan.delivery_id = lddl.id left join (select t.delivery_id,