소스 검색

供应链

yumeng 11 달 전
부모
커밋
5364c3189b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ruixuan-live/src/main/resources/mapper/isc/KwaixiaodianOrderCursorListMapper.xml

+ 1 - 1
ruixuan-live/src/main/resources/mapper/isc/KwaixiaodianOrderCursorListMapper.xml

@@ -447,7 +447,7 @@
         2) as 'validRadio',
         sum(case when t1.status >= 40 and t1.status < 80 then 1 else 0 end) as 'deliveryNum',
         round(sum(case when t1.status >= 40 and t1.status < 80 then 1 else 0 end) /
-        sum(case when t1.status != 80 then 1 else 0 end) * 100, 2) as 'deliveryRate',
+        sum(case when t1.status != 80 and t1.status != 10 then 1 else 0 end) * 100, 2) as 'deliveryRate',
         sum(case when t1.status = 30 then 1 else 0 end) as 'notDeliveryNum',
         round(sum(t1.express_fee) / 100, 2) as 'expressFee'
         from kwaixiaodian_order_cursor_list t1