Browse Source

修改sql

yumeng 2 năm trước cách đây
mục cha
commit
7733b1e9b8

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

@@ -1263,7 +1263,7 @@
         t1.collectSampleName,
         t2.promoterCount,
         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',
         t1.orderNum,
         t1.validOrderNum,