소스 검색

ccr信息

yumeng 1 년 전
부모
커밋
bb18cb300e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      ruixuan-live/src/main/resources/mapper/isc/SupplyChainMapper.xml

+ 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