yumeng преди 2 години
родител
ревизия
7733b1e9b8
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      ruixuan-live/src/main/resources/mapper/isc/SupplyChainMapper.xml

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

@@ -1263,7 +1263,7 @@
         t1.collectSampleName,
         t1.collectSampleName,
         t2.promoterCount,
         t2.promoterCount,
         t3.sampleCount,
         t3.sampleCount,
-        round(t3.sampleCount / t3.promoterCount * 100, 2) as 'sampleRate',
+        round(t3.sampleCount / t2.promoterCount * 100, 2) as 'sampleRate',
         t2.promoterCount - t3.sampleCount as 'notSampleCount',
         t2.promoterCount - t3.sampleCount as 'notSampleCount',
         t1.orderNum,
         t1.orderNum,
         t1.validOrderNum,
         t1.validOrderNum,