|
@@ -44,6 +44,9 @@
|
|
<result property="isShow" column="is_show"/>
|
|
<result property="isShow" column="is_show"/>
|
|
<result property="qwExtId" column="qw_ext_id" />
|
|
<result property="qwExtId" column="qw_ext_id" />
|
|
<result property="isAddQw" column="is_add_qw" />
|
|
<result property="isAddQw" column="is_add_qw" />
|
|
|
|
+ <result property="qwRepeat" column="qw_repeat"/>
|
|
|
|
+ <result property="userRepeat" column="user_repeat"/>
|
|
|
|
+ <result property="payOrder" column="pay_order"/>
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFsUserVo">
|
|
<sql id="selectFsUserVo">
|
|
@@ -86,7 +89,10 @@
|
|
register_date,
|
|
register_date,
|
|
register_code,
|
|
register_code,
|
|
source,
|
|
source,
|
|
- user_code
|
|
|
|
|
|
+ user_code,
|
|
|
|
+ qw_repeat,
|
|
|
|
+ user_repeat,
|
|
|
|
+ pay_order
|
|
from fs_user
|
|
from fs_user
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
@@ -125,6 +131,9 @@
|
|
<if test="registerCode != null and registerCode != '' ">and register_code = #{registerCode}</if>
|
|
<if test="registerCode != null and registerCode != '' ">and register_code = #{registerCode}</if>
|
|
<if test="source != null and source != '' ">and source = #{source}</if>
|
|
<if test="source != null and source != '' ">and source = #{source}</if>
|
|
<if test="isShow != null ">and is_show = #{isShow}</if>
|
|
<if test="isShow != null ">and is_show = #{isShow}</if>
|
|
|
|
+ <if test="qwRepeat != null ">and qw_repeat = #{qwRepeat}</if>
|
|
|
|
+ <if test="userRepeat != null ">and user_repeat = #{userRepeat}</if>
|
|
|
|
+ <if test="payOrder != null ">and pay_order = #{payOrder}</if>
|
|
</where>
|
|
</where>
|
|
order by user_id desc
|
|
order by user_id desc
|
|
</select>
|
|
</select>
|
|
@@ -172,6 +181,9 @@
|
|
<if test="phone != null and phone != ''">or phone like concat('%',#{phone},'%')</if>
|
|
<if test="phone != null and phone != ''">or phone like concat('%',#{phone},'%')</if>
|
|
)
|
|
)
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="qwRepeat != null ">and qw_repeat = #{qwRepeat}</if>
|
|
|
|
+ <if test="userRepeat != null ">and user_repeat = #{userRepeat}</if>
|
|
|
|
+ <if test="payOrder != null ">and pay_order = #{payOrder}</if>
|
|
</where>
|
|
</where>
|
|
order by user_id desc
|
|
order by user_id desc
|
|
limit 10
|
|
limit 10
|
|
@@ -322,6 +334,9 @@
|
|
<if test="isShow != null">is_show,</if>
|
|
<if test="isShow != null">is_show,</if>
|
|
<if test="qwExtId != null">qw_ext_id,</if>
|
|
<if test="qwExtId != null">qw_ext_id,</if>
|
|
<if test="isAddQw != null">is_add_qw,</if>
|
|
<if test="isAddQw != null">is_add_qw,</if>
|
|
|
|
+ <if test="qwRepeat != null">qw_repeat,</if>
|
|
|
|
+ <if test="userRepeat != null">user_repeat,</if>
|
|
|
|
+ <if test="payOrder != null">pay_order,</if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="username != null">#{username},</if>
|
|
<if test="username != null">#{username},</if>
|
|
@@ -363,6 +378,9 @@
|
|
<if test="isShow != null">#{isShow},</if>
|
|
<if test="isShow != null">#{isShow},</if>
|
|
<if test="qwExtId != null">#{qwExtId},</if>
|
|
<if test="qwExtId != null">#{qwExtId},</if>
|
|
<if test="isAddQw != null">#{isAddQw},</if>
|
|
<if test="isAddQw != null">#{isAddQw},</if>
|
|
|
|
+ <if test="qwRepeat != null">#{qwRepeat},</if>
|
|
|
|
+ <if test="userRepeat != null">#{userRepeat},</if>
|
|
|
|
+ <if test="payOrder != null">#{payOrder},</if>
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
@@ -408,6 +426,9 @@
|
|
<if test="isShow != null">is_show = #{isShow},</if>
|
|
<if test="isShow != null">is_show = #{isShow},</if>
|
|
<if test="qwExtId != null">qw_ext_id = #{qwExtId},</if>
|
|
<if test="qwExtId != null">qw_ext_id = #{qwExtId},</if>
|
|
<if test="isAddQw != null">is_add_qw = #{isAddQw},</if>
|
|
<if test="isAddQw != null">is_add_qw = #{isAddQw},</if>
|
|
|
|
+ <if test="qwRepeat != null">qw_repeat = #{qwRepeat},</if>
|
|
|
|
+ <if test="userRepeat != null">user_repeat = #{userRepeat},</if>
|
|
|
|
+ <if test="payOrder != null">pay_order = #{payOrder},</if>
|
|
</trim>
|
|
</trim>
|
|
where user_id = #{userId}
|
|
where user_id = #{userId}
|
|
</update>
|
|
</update>
|