|
|
|
@ -7,7 +7,9 @@ |
|
|
|
<id column="id" jdbcType="BIGINT" property="id" /> |
|
|
|
<result column="username" jdbcType="VARCHAR" property="username" /> |
|
|
|
<result column="tiktok_code" jdbcType="VARCHAR" property="tiktokCode" /> |
|
|
|
<result column="phone" jdbcType="VARCHAR" property="phone" /> |
|
|
|
<result column="img" jdbcType="VARCHAR" property="img" /> |
|
|
|
<result column="is_vip" jdbcType="CHAR" property="isVip" /> |
|
|
|
<result column="is_show" jdbcType="CHAR" property="isShow" /> |
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|
|
|
@ -17,7 +19,7 @@ |
|
|
|
|
|
|
|
<sql id="Base_Column_List"> |
|
|
|
<!--@mbg.generated--> |
|
|
|
id, username, tiktok_code, img,is_show, create_time, update_time, sort |
|
|
|
id, username, tiktok_code,phone, img,is_vip,is_show, create_time, update_time, sort |
|
|
|
</sql> |
|
|
|
|
|
|
|
<select id="queryPage" resultMap="BaseResultMap"> |
|
|
|
@ -28,6 +30,9 @@ |
|
|
|
<if test="params.username != null and params.username != ''"> |
|
|
|
username like concat('%',#{params.username},'%') |
|
|
|
</if> |
|
|
|
<if test="params.isVip != null and params.isVip != ''"> |
|
|
|
and is_vip = #{params.isVip} |
|
|
|
</if> |
|
|
|
<if test="params.isShow != null and params.isShow != ''"> |
|
|
|
and is_show = #{params.isShow} |
|
|
|
</if> |
|
|
|
|