浏览代码

修改取值

xuefy 3 年之前
父节点
当前提交
e02a358f46
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      sc-service/src/main/resources/mapper/credit/OwnCreditMapper.xml

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

@@ -93,10 +93,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             and f.zfi_amount <= #{paramMap.endAmt}
         </if>
         <if test="paramMap.zfiSupplierId != null  and paramMap.zfiSupplierId != ''">
-            and f.zfi_supplier_id = #{paramMap.companyId}
+            and f.zfi_supplier_id = #{paramMap.zfiSupplierId}
         </if>
         <if test="paramMap.zfiCoreId != null  and paramMap.zfiCoreId != ''">
-            and f.zfi_core_id = #{paramMap.companyId}
+            and f.zfi_core_id = #{paramMap.zfiCoreId}
         </if>
         <if test="paramMap.zfiNumber != null  and paramMap.zfiNumber != ''">
             and f.zfi_number like concat('%', #{paramMap.zfiNumber}, '%')
@@ -466,10 +466,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             and f.zfi_amount &lt;= #{paramMap.endAmt}
         </if>
         <if test="paramMap.zfiSupplierId != null  and paramMap.zfiSupplierId != ''">
-            and f.zfi_supplier_id = #{paramMap.companyId}
+            and f.zfi_supplier_id = #{paramMap.zfiSupplierId}
         </if>
         <if test="paramMap.zfiCoreId != null  and paramMap.zfiCoreId != ''">
-            and f.zfi_core_id = #{paramMap.companyId}
+            and f.zfi_core_id = #{paramMap.zfiCoreId}
         </if>
         <if test="paramMap.zfiNumber != null  and paramMap.zfiNumber != ''">
             and f.zfi_number like concat('%', #{paramMap.zfiNumber}, '%')