LIVE_YE 11 月之前
父节点
当前提交
632c988255
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi-system/src/main/resources/mapper/system/LoanApplicationMapper.xml

+ 1 - 1
ruoyi-system/src/main/resources/mapper/system/LoanApplicationMapper.xml

@@ -121,7 +121,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="spouseName != null  and spouseName != ''"> and spouse_name like concat('%', #{spouseName}, '%')</if>
             <if test="spouseIdCard != null  and spouseIdCard != ''"> and spouse_id_card = #{spouseIdCard}</if>
             <if test="spousePhone != null  and spousePhone != ''"> and spouse_phone = #{spousePhone}</if>
-            <if test="guaranteeType != null  and guaranteeType != ''"> and FIND_IN_SET(guarantee_type,#{guaranteeType})</if>
+            <if test="guaranteeType != null  and guaranteeType != ''"> and FIND_IN_SET(#{guaranteeType},guarantee_type)</if>
             <if test="guaranteeFront != null  and guaranteeFront != ''"> and guarantee_front = #{guaranteeFront}</if>
             <if test="guaranteeBack != null  and guaranteeBack != ''"> and guarantee_back = #{guaranteeBack}</if>
             <if test="guaranteeName != null  and guaranteeName != ''"> and guarantee_name like concat('%', #{guaranteeName}, '%')</if>