and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, gh_id, gh_name, `type`, category1, category2, is_delete, create_time, update_time, channel, video_ids, strategy_status, autoreply_send_minigram_num delete from gh_detail where id = #{id,jdbcType=BIGINT} delete from gh_detail insert into gh_detail (id, gh_id, gh_name, `type`, category1, category2, is_delete, create_time, update_time, channel, video_ids, strategy_status, autoreply_send_minigram_num) values (#{id,jdbcType=BIGINT}, #{ghId,jdbcType=VARCHAR}, #{ghName,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{category1,jdbcType=VARCHAR}, #{category2,jdbcType=VARCHAR}, #{isDelete,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{channel,jdbcType=VARCHAR}, #{videoIds,jdbcType=VARCHAR}, #{strategyStatus,jdbcType=INTEGER}, #{autoreplySendMinigramNum,jdbcType=INTEGER}) insert into gh_detail id, gh_id, gh_name, `type`, category1, category2, is_delete, create_time, update_time, channel, video_ids, strategy_status, autoreply_send_minigram_num, #{id,jdbcType=BIGINT}, #{ghId,jdbcType=VARCHAR}, #{ghName,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{category1,jdbcType=VARCHAR}, #{category2,jdbcType=VARCHAR}, #{isDelete,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{channel,jdbcType=VARCHAR}, #{videoIds,jdbcType=VARCHAR}, #{strategyStatus,jdbcType=INTEGER}, #{autoreplySendMinigramNum,jdbcType=INTEGER}, update gh_detail id = #{record.id,jdbcType=BIGINT}, gh_id = #{record.ghId,jdbcType=VARCHAR}, gh_name = #{record.ghName,jdbcType=VARCHAR}, `type` = #{record.type,jdbcType=INTEGER}, category1 = #{record.category1,jdbcType=VARCHAR}, category2 = #{record.category2,jdbcType=VARCHAR}, is_delete = #{record.isDelete,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, channel = #{record.channel,jdbcType=VARCHAR}, video_ids = #{record.videoIds,jdbcType=VARCHAR}, strategy_status = #{record.strategyStatus,jdbcType=INTEGER}, autoreply_send_minigram_num = #{record.autoreplySendMinigramNum,jdbcType=INTEGER}, update gh_detail set id = #{record.id,jdbcType=BIGINT}, gh_id = #{record.ghId,jdbcType=VARCHAR}, gh_name = #{record.ghName,jdbcType=VARCHAR}, `type` = #{record.type,jdbcType=INTEGER}, category1 = #{record.category1,jdbcType=VARCHAR}, category2 = #{record.category2,jdbcType=VARCHAR}, is_delete = #{record.isDelete,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, channel = #{record.channel,jdbcType=VARCHAR}, video_ids = #{record.videoIds,jdbcType=VARCHAR}, strategy_status = #{record.strategyStatus,jdbcType=INTEGER}, autoreply_send_minigram_num = #{record.autoreplySendMinigramNum,jdbcType=INTEGER} update gh_detail gh_id = #{ghId,jdbcType=VARCHAR}, gh_name = #{ghName,jdbcType=VARCHAR}, `type` = #{type,jdbcType=INTEGER}, category1 = #{category1,jdbcType=VARCHAR}, category2 = #{category2,jdbcType=VARCHAR}, is_delete = #{isDelete,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, channel = #{channel,jdbcType=VARCHAR}, video_ids = #{videoIds,jdbcType=VARCHAR}, strategy_status = #{strategyStatus,jdbcType=INTEGER}, autoreply_send_minigram_num = #{autoreplySendMinigramNum,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update gh_detail set gh_id = #{ghId,jdbcType=VARCHAR}, gh_name = #{ghName,jdbcType=VARCHAR}, `type` = #{type,jdbcType=INTEGER}, category1 = #{category1,jdbcType=VARCHAR}, category2 = #{category2,jdbcType=VARCHAR}, is_delete = #{isDelete,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, channel = #{channel,jdbcType=VARCHAR}, video_ids = #{videoIds,jdbcType=VARCHAR}, strategy_status = #{strategyStatus,jdbcType=INTEGER}, autoreply_send_minigram_num = #{autoreplySendMinigramNum,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT}