|
|
@ -40,14 +40,15 @@ |
|
|
<include refid="Base_Column_List"/> |
|
|
<include refid="Base_Column_List"/> |
|
|
FROM img_user_vip_record a |
|
|
FROM img_user_vip_record a |
|
|
WHERE |
|
|
WHERE |
|
|
|
|
|
a.status = 1 |
|
|
<if test="id != null"> |
|
|
<if test="id != null"> |
|
|
a.id = #{id} |
|
|
and a.id = #{id} |
|
|
</if> |
|
|
</if> |
|
|
<if test="userId != null"> |
|
|
<if test="userId != null"> |
|
|
a.user_id = #{userId} |
|
|
and a.user_id = #{userId} |
|
|
</if> |
|
|
</if> |
|
|
<if test="userClientType != null"> |
|
|
<if test="userClientType != null"> |
|
|
a.user_client_type = #{userClientType} |
|
|
and a.user_client_type = #{userClientType} |
|
|
</if> |
|
|
</if> |
|
|
</select> |
|
|
</select> |
|
|
</mapper> |
|
|
</mapper> |
|
|
|