Browse Source

fix(xml): 修改配送车次报表数据展示异常

pull/30/head
zhaoqiaobo 9 months ago
parent
commit
59586f0160
  1. 2
      blade-service/logpm-report/src/main/java/com/logpm/report/mapper/ReportDeliverMapper.xml

2
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_loading = 1, 0, 1)) exLoadedNum,
sum(if(t.is_abnormal_signing = 1, 0, 1)) exReNum sum(if(t.is_abnormal_signing = 1, 0, 1)) exReNum
from logpm_distribution_loadscan t from logpm_distribution_loadscan t
where t.scan_status != 1
group by t.delivery_id) loadScan on loadScan.delivery_id = d.id group by t.delivery_id) loadScan on loadScan.delivery_id = d.id
left join (select t.delivery_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_loading = 1, 0, 1)) exLoadedNum,
sum(if(t.is_abnormal_signing = 1, 0, 1)) exReNum sum(if(t.is_abnormal_signing = 1, 0, 1)) exReNum
from logpm_distribution_loadscan t from logpm_distribution_loadscan t
where t.scan_status != 1
group by t.delivery_id) loadScan on loadScan.delivery_id = lddl.id group by t.delivery_id) loadScan on loadScan.delivery_id = lddl.id
left join (select t.delivery_id, left join (select t.delivery_id,

Loading…
Cancel
Save