|
@@ -40,7 +40,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectCreditUserList" parameterType="CreditUser" resultMap="CreditUserResult">
|
|
<select id="selectCreditUserList" parameterType="CreditUser" resultMap="CreditUserResult">
|
|
<include refid="selectCreditUserVo"/>
|
|
<include refid="selectCreditUserVo"/>
|
|
- <where>
|
|
|
|
|
|
+ <where>
|
|
|
|
+ is_del = 'N'
|
|
<if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
|
|
<if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
|
|
<if test="creditLevel != null and creditLevel != ''"> and credit_level = #{creditLevel}</if>
|
|
<if test="creditLevel != null and creditLevel != ''"> and credit_level = #{creditLevel}</if>
|
|
<if test="gender != null and gender != ''"> and gender = #{gender}</if>
|
|
<if test="gender != null and gender != ''"> and gender = #{gender}</if>
|
|
@@ -52,7 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectCreditUserById" parameterType="Long" resultMap="CreditUserResult">
|
|
<select id="selectCreditUserById" parameterType="Long" resultMap="CreditUserResult">
|
|
<include refid="selectCreditUserVo"/>
|
|
<include refid="selectCreditUserVo"/>
|
|
- where id = #{id}
|
|
|
|
|
|
+ where id = #{id} and is_del = 'N'
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="selectCreditUser" parameterType="CreditUser" resultMap="CreditUserResult">
|
|
<select id="selectCreditUser" parameterType="CreditUser" resultMap="CreditUserResult">
|