...
|
...
|
@@ -15,10 +15,11 @@ |
|
|
<result column="create_time" property="createTime" jdbcType="INTEGER" />
|
|
|
<result column="callback_time" property="callbackTime" jdbcType="INTEGER" />
|
|
|
<result column="is_callback" property="isCallback" jdbcType="INTEGER" />
|
|
|
<result column="is_ufo" property="isUfo" jdbcType="INTEGER" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
|
order_code, date_id, uid, udid, client_type, idfa, order_time, wakeup_date,
|
|
|
union_type, source, create_time, callback_time, is_callback
|
|
|
union_type, source, create_time, callback_time, is_callback,is_ufo
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
|
select
|
...
|
...
|
@@ -43,12 +44,12 @@ |
|
|
udid, client_type, idfa,
|
|
|
order_time, wakeup_date,
|
|
|
union_type, source, create_time,
|
|
|
callback_time, is_callback)
|
|
|
callback_time, is_callback, is_ufo)
|
|
|
values (#{orderCode,jdbcType=VARCHAR}, #{dateId,jdbcType=INTEGER}, #{uid,jdbcType=INTEGER},
|
|
|
#{udid,jdbcType=VARCHAR}, #{clientType,jdbcType=INTEGER}, #{idfa,jdbcType=VARCHAR},
|
|
|
#{orderTime,jdbcType=INTEGER}, #{wakeupDate,jdbcType=INTEGER},
|
|
|
#{unionType,jdbcType=VARCHAR}, #{source,jdbcType=INTEGER}, #{createTime,jdbcType=INTEGER},
|
|
|
#{callbackTime,jdbcType=INTEGER}, #{isCallback,jdbcType=INTEGER})
|
|
|
#{callbackTime,jdbcType=INTEGER}, #{isCallback,jdbcType=INTEGER}, #{is_ufo,jdbcType=INTEGER})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.yoho.unions.dal.model.UnionCallbackOrder" >
|
|
|
insert into union_callback_order
|
...
|
...
|
@@ -92,6 +93,9 @@ |
|
|
<if test="isCallback != null" >
|
|
|
is_callback,
|
|
|
</if>
|
|
|
<if test="isUfo != null" >
|
|
|
is_ufo,
|
|
|
</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
<if test="orderCode != null" >
|
...
|
...
|
@@ -133,6 +137,9 @@ |
|
|
<if test="isCallback != null" >
|
|
|
#{isCallback,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="isUfo != null" >
|
|
|
#{isUfo,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.yoho.unions.dal.model.UnionCallbackOrder" >
|
...
|
...
|
@@ -174,6 +181,9 @@ |
|
|
<if test="isCallback != null" >
|
|
|
is_callback = #{isCallback,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="isUfo != null" >
|
|
|
is_ufo = #{isUfo,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
</set>
|
|
|
where order_code = #{orderCode,jdbcType=VARCHAR}
|
|
|
</update>
|
...
|
...
|
@@ -190,6 +200,7 @@ |
|
|
source = #{source,jdbcType=INTEGER},
|
|
|
create_time = #{createTime,jdbcType=INTEGER},
|
|
|
callback_time = #{callbackTime,jdbcType=INTEGER},
|
|
|
is_ufo = #{isUfo,jdbcType=INTEGER},
|
|
|
is_callback = #{isCallback,jdbcType=INTEGER}
|
|
|
where order_code = #{orderCode,jdbcType=VARCHAR}
|
|
|
</update>
|
...
|
...
|
|