...
|
...
|
@@ -4,7 +4,7 @@ |
|
|
|
|
|
<insert id="insert" parameterType="com.yoho.unions.dal.model.ChannelReportForm" keyProperty="id" useGeneratedKeys="true" >
|
|
|
insert into
|
|
|
channel_report_form (
|
|
|
channnel_report_form (
|
|
|
id,
|
|
|
app_key,
|
|
|
channel_code,
|
...
|
...
|
@@ -25,12 +25,12 @@ |
|
|
#{exposureNum,jdbcType=INTEGER},
|
|
|
#{clickNum,jdbcType=INTEGER},
|
|
|
#{dateId,jdbcType=INTEGER},
|
|
|
CURRENT_TIMESTAMP,
|
|
|
CURRENT_TIMESTAMP
|
|
|
#{createTime,jdbcType=INTEGER},
|
|
|
#{updateTime,jdbcType=INTEGER}
|
|
|
)
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.yoho.unions.dal.model.ChannelReportForm" keyProperty="id" useGeneratedKeys="true">
|
|
|
insert into channel_report_form
|
|
|
insert into channnel_report_form
|
|
|
<trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
<if test="id != null" >
|
|
|
id,
|
...
|
...
|
@@ -56,8 +56,12 @@ |
|
|
<if test="dateId != null" >
|
|
|
date_id,
|
|
|
</if>
|
|
|
create_time,
|
|
|
update_time
|
|
|
<if test="createTime != null" >
|
|
|
create_time,
|
|
|
</if>
|
|
|
<if test="updateTime != null" >
|
|
|
update_time,
|
|
|
</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
<if test="id != null" >
|
...
|
...
|
@@ -84,8 +88,12 @@ |
|
|
<if test="dateId != null">
|
|
|
#{dateId,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
CURRENT_TIMESTAMP,
|
|
|
CURRENT_TIMESTAMP
|
|
|
<if test="createTime != null">
|
|
|
#{createTime,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="updateTime != null">
|
|
|
#{updateTime,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
...
|
...
|
|