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