| @@ -75,10 +75,10 @@ | |||||
| <sql id="customWhereConditions"> | <sql id="customWhereConditions"> | ||||
| where 1 = 1 | where 1 = 1 | ||||
| <if test=" null != name "> | |||||
| and basic.name like concat('%', #{name},'%') | |||||
| <if test=" null != name and '' != name"> | |||||
| and basic.nick_name like concat('%', #{name},'%') | |||||
| </if> | </if> | ||||
| <if test=" null != phone "> | |||||
| <if test=" null != phone and '' != phone"> | |||||
| and basic.phone like concat('%', #{phone},'%') | and basic.phone like concat('%', #{phone},'%') | ||||
| </if> | </if> | ||||
| <if test=" null != startTime "> | <if test=" null != startTime "> | ||||
| @@ -100,7 +100,7 @@ | |||||
| <select id="findListMore" parameterType="com.iformall.domain.po.WxCreditHistory" resultType="com.iformall.domain.vo.WxCreditHistoryVo"> | <select id="findListMore" parameterType="com.iformall.domain.po.WxCreditHistory" resultType="com.iformall.domain.vo.WxCreditHistoryVo"> | ||||
| SELECT | SELECT | ||||
| credit.id creditId, | credit.id creditId, | ||||
| basic.NAME name, | |||||
| basic.nick_name name, | |||||
| basic.phone phone, | basic.phone phone, | ||||
| basic.sex sex, | basic.sex sex, | ||||
| credit.tenant_id tenantId, | credit.tenant_id tenantId, | ||||