Browse Source

ccr信息

yumeng 1 năm trước cách đây
mục cha
commit
bb18cb300e

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

@@ -190,7 +190,7 @@
         t1.item_commission_rate as 'itemCommissionRate',
         t3.ccr_value as 'ccrValue',
         (case
-        when t3.ccr_value = '-'
+        when t3.ccr_value = '-' or t3.ccr_value is null
         then 0
         else replace( t3.ccr_value,'%','')
         end
@@ -1083,7 +1083,7 @@
         t2.item_commission_rate as 'itemCommissionRate',
         t3.ccr_value as 'ccrValue',
         (case
-        when t3.ccr_value = '-'
+        when t3.ccr_value = '-' or t3.ccr_value is null
         then 0
         else replace(t3.ccr_value,'%','')
         end