id, channel, home_default, is_news, create_time, type, group_id, channel_name, superior_channel delete from home_channel where id = #{id,jdbcType=BIGINT} SELECT LAST_INSERT_ID() insert into home_channel (channel, home_default, is_news, create_time, type, group_id, channel_name, superior_channel) values (#{channel,jdbcType=VARCHAR}, #{homeDefault,jdbcType=INTEGER}, #{isNews,jdbcType=TINYINT}, #{createTime,jdbcType=TIMESTAMP}, #{type,jdbcType=TINYINT}, #{groupId,jdbcType=INTEGER}, #{channelName,jdbcType=VARCHAR}, #{superiorChannel,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into home_channel channel, home_default, is_news, create_time, type, group_id, channel_name, superior_channel, #{channel,jdbcType=VARCHAR}, #{homeDefault,jdbcType=INTEGER}, #{isNews,jdbcType=TINYINT}, #{createTime,jdbcType=TIMESTAMP}, #{type,jdbcType=TINYINT}, #{groupId,jdbcType=INTEGER}, #{channelName,jdbcType=VARCHAR}, #{superiorChannel,jdbcType=VARCHAR}, update home_channel channel = #{channel,jdbcType=VARCHAR}, home_default = #{homeDefault,jdbcType=INTEGER}, is_news = #{isNews,jdbcType=TINYINT}, create_time = #{createTime,jdbcType=TIMESTAMP}, type = #{type,jdbcType=TINYINT}, group_id = #{groupId,jdbcType=INTEGER}, channel_name = #{channelName,jdbcType=VARCHAR}, superior_channel = #{superiorChannel,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update home_channel set channel = #{channel,jdbcType=VARCHAR}, home_default = #{homeDefault,jdbcType=INTEGER}, is_news = #{isNews,jdbcType=TINYINT}, create_time = #{createTime,jdbcType=TIMESTAMP}, type = #{type,jdbcType=TINYINT}, group_id = #{groupId,jdbcType=INTEGER}, channel_name = #{channelName,jdbcType=VARCHAR}, superior_channel = #{superiorChannel,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT}