...
|
...
|
@@ -18,6 +18,7 @@ |
|
|
<result column="td" property="td" jdbcType="VARCHAR" />
|
|
|
<result column="app_key" property="appKey" jdbcType="VARCHAR" />
|
|
|
<result column="interface_type" property="interfaceType" jdbcType="VARCHAR" />
|
|
|
<result column="union_name" property="unionName" jdbcType="VARCHAR" />
|
|
|
</resultMap>
|
|
|
<resultMap id="ActivateMap" type="com.yoho.service.model.union.response.ActivateDeviceIdRspBO">
|
|
|
<result column="union_type" property="unionType" jdbcType="VARCHAR" />
|
...
|
...
|
@@ -28,7 +29,7 @@ |
|
|
<sql id="Base_Column_List">
|
|
|
id, app_id, udid, idfa, imei, is_activate, union_type, add_params,
|
|
|
activate_params,
|
|
|
create_time, update_time, client_type, td, app_key,interface_type
|
|
|
create_time, update_time, client_type, td, app_key,interface_type,union_name
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap"
|
|
|
parameterType="java.lang.Integer">
|
...
|
...
|
@@ -45,13 +46,13 @@ |
|
|
insert into union_logs (id, app_id, udid,
|
|
|
idfa, imei, is_activate,
|
|
|
union_type, add_params, activate_params,
|
|
|
create_time, update_time, client_type, td, app_key,interface_type)
|
|
|
create_time, update_time, client_type, td, app_key,interface_type,union_name)
|
|
|
values (#{id,jdbcType=INTEGER}, #{appId,jdbcType=VARCHAR},
|
|
|
#{udid,jdbcType=VARCHAR},
|
|
|
#{idfa,jdbcType=VARCHAR}, #{imei,jdbcType=VARCHAR}, #{isActivate,jdbcType=TINYINT},
|
|
|
#{unionType,jdbcType=INTEGER}, #{addParams,jdbcType=VARCHAR},
|
|
|
#{activateParams,jdbcType=VARCHAR},
|
|
|
#{createTime,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER}, #{clientType}, #{td}, #{appKey}, #{interfaceType})
|
|
|
#{createTime,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER}, #{clientType}, #{td}, #{appKey}, #{interfaceType},#{unionName})
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.yoho.unions.dal.model.UnionLogs">
|
|
|
update union_logs
|
...
|
...
|
@@ -66,7 +67,8 @@ |
|
|
update_time = #{updateTime,jdbcType=INTEGER},
|
|
|
client_type=#{clientType},
|
|
|
app_key=#{appKey},
|
|
|
interface_type=#{interfaceType}
|
|
|
interface_type=#{interfaceType},
|
|
|
union_name=#{unionName}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
<update id="updateUnionLogs">
|
...
|
...
|
|