فهرست منبع

修改显示条件

tjf 3 سال پیش
والد
کامیت
a25a20b7b0

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

@@ -57,7 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </select>
 
     <select id="selectCreditUser" parameterType="CreditUser" resultMap="CreditUserResult">
-        select id,user_name,credit_score,credit_level from credit_user
+        select id,user_name,credit_score,credit_level,phone_num from credit_user
         <where>
             <if test="idCard != null  and idCard != ''"> and id_card = #{idCard}</if>
             <if test="phoneNum != null  and phoneNum != ''"> and phone_num = #{phoneNum}</if>

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

@@ -32,6 +32,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <where>
             <if test="businessName != null  and businessName != ''"> and business_name like concat('%', #{businessName}, '%')</if>
             <if test="businessPhone != null  and businessPhone != ''"> and business_phone = #{businessPhone}</if>
+            <if test="policyId != null  and policyId != ''"> and policy_id = #{policyId}</if>
         </where>
         order by order_num
     </select>