id, `uid`, aid, `status`, distribution_time, create_time
delete from user_channel
where id = #{id,jdbcType=INTEGER}
insert into user_channel (id, `uid`, aid,
`status`, distribution_time, create_time
)
values (#{id,jdbcType=INTEGER}, #{uid,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER}, #{distributionTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}
)
insert into user_channel
id,
`uid`,
aid,
`status`,
distribution_time,
create_time,
#{id,jdbcType=INTEGER},
#{uid,jdbcType=VARCHAR},
#{aid,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{distributionTime,jdbcType=TIMESTAMP},
#{createTime,jdbcType=TIMESTAMP},
update user_channel
`uid` = #{uid,jdbcType=VARCHAR},
aid = #{aid,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
distribution_time = #{distributionTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update user_channel
set `uid` = #{uid,jdbcType=VARCHAR},
aid = #{aid,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
distribution_time = #{distributionTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}
insert into user_channel ( `uid`, aid,
`status`)VALUES
(#{item.uid,jdbcType=VARCHAR}, #{item.aid,jdbcType=VARCHAR},#{item.status}
)
update user_channel set status = #{status}
where uid in(
#{item}
)
delete from user_channel where id in (
#{item}
)