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

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

@@ -217,7 +217,7 @@
     </select>
     <select id="getOrderTotalRatio" resultType="java.lang.Double">
         select
-        round((t1.oid -t2.oid) / t2.oid , 2) as 'orderTotalRatio'
+        round((t1.oid -t2.oid) / t2.oid , 4) as 'orderTotalRatio'
         from (select count(oid) as 'oid'
         from kuaishou_supply_chain
         where 1= 1
@@ -256,7 +256,7 @@
     </select>
     <select id="getAmountTotalRatio" resultType="java.lang.Double">
         select
-        round((t1.payAmount -t2.payAmount) / t2.payAmount , 2) as 'amountTotalRatio'
+        round((t1.payAmount -t2.payAmount) / t2.payAmount , 4) as 'amountTotalRatio'
         from (select sum(pay_amount) as 'payAmount'
         from kuaishou_supply_chain
         where 1= 1