|
|
@@ -52,10 +52,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="level" column="level"/>
|
|
|
<result property="appOpenId" column="app_open_id" />
|
|
|
<result property="appleKey" column="apple_key" />
|
|
|
+ <result property="historyApp" column="history_app" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFsUserVo">
|
|
|
- select user_id,qw_ext_id,sex,is_buy,`level`,course_ma_open_id,is_push,is_add_qw,source,login_device,is_individuation_push,store_open_id,password,jpush_id, is_vip,vip_start_date,vip_end_date,vip_level,vip_status,nick_name,integral_status, avatar, phone, integral,sign_num, status, tui_user_id, tui_time, tui_user_count, ma_open_id, mp_open_id, union_id, is_del, user_code, remark, create_time, update_time, last_ip, balance,is_weixin_auth,parent_id,qw_user_id,app_id,company_id,company_user_id,is_promoter,now_money,brokerage_price,spread_user_id, spread_time,pay_count, spread_count,user_type,app_open_id,apple_key from fs_user
|
|
|
+ select user_id,qw_ext_id,sex,is_buy,`level`,course_ma_open_id,is_push,is_add_qw,source,login_device,
|
|
|
+ is_individuation_push,store_open_id,password,jpush_id, is_vip,vip_start_date,vip_end_date,
|
|
|
+ vip_level,vip_status,nick_name,integral_status, avatar, phone, integral,sign_num, status,
|
|
|
+ tui_user_id, tui_time, tui_user_count, ma_open_id, mp_open_id, union_id, is_del, user_code,
|
|
|
+ remark, create_time, update_time, last_ip, balance,is_weixin_auth,parent_id,qw_user_id,app_id,
|
|
|
+ company_id,company_user_id,is_promoter,now_money,brokerage_price,spread_user_id, spread_time,pay_count,
|
|
|
+ spread_count,user_type,app_open_id,apple_key,history_app from fs_user
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectFsUserList" parameterType="FsUser" resultMap="FsUserResult">
|
|
|
@@ -593,6 +600,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="appId != null">app_id,</if>
|
|
|
<if test="appOpenId != null">app_open_id,</if>
|
|
|
<if test="appleKey != null">apple_key,</if>
|
|
|
+ <if test="historyApp != null">history_app,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="nickName != null">#{nickName},</if>
|
|
|
@@ -645,6 +653,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="appId != null">#{appId},</if>
|
|
|
<if test="appOpenId != null">#{appOpenId},</if>
|
|
|
<if test="appleKey != null">#{appleKey},</if>
|
|
|
+ <if test="historyApp != null">#{historyApp},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -699,6 +708,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="appId != null">app_id = #{appId},</if>
|
|
|
<if test="appOpenId != null">app_open_id = #{appOpenId},</if>
|
|
|
<if test="appleKey != null">apple_key = #{appleKey},</if>
|
|
|
+ <if test="historyApp != null and historyApp != ''">history_app = #{historyApp},</if>
|
|
|
</trim>
|
|
|
where user_id = #{userId}
|
|
|
</update>
|