瀏覽代碼

NULL条件修改

tudc 3 年之前
父節點
當前提交
cddfdb7580
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sc-service/src/main/resources/mapper/credit/OwnCreditMapper.xml

+ 1 - 1
sc-service/src/main/resources/mapper/credit/OwnCreditMapper.xml

@@ -36,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             ON s.scy_id = f.zfi_core_id
             LEFT JOIN zc_finance_product p
             ON p.zfp_id = f.zfi_product_id
-            WHERE f.zfi_status != '99'
+            WHERE (f.zfi_status != '99' or f.zfi_status is null)
 
         <if test="paramMap.companyType != null  and paramMap.zfiId != '' and paramMap.companyId != null  and paramMap.companyId != ''">
             <!--核心企业 开立方是自己的-->