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} msg_setting_id, user_id, type_id, channel_id, `enable` delete from sys_msg_setting where msg_setting_id = #{msgSettingId,jdbcType=BIGINT} delete from sys_msg_setting insert into sys_msg_setting (msg_setting_id, user_id, type_id, channel_id, `enable`) values (#{msgSettingId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{typeId,jdbcType=BIGINT}, #{channelId,jdbcType=BIGINT}, #{enable,jdbcType=BIT}) insert into sys_msg_setting msg_setting_id, user_id, type_id, channel_id, `enable`, #{msgSettingId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{typeId,jdbcType=BIGINT}, #{channelId,jdbcType=BIGINT}, #{enable,jdbcType=BIT}, update sys_msg_setting msg_setting_id = #{record.msgSettingId,jdbcType=BIGINT}, user_id = #{record.userId,jdbcType=BIGINT}, type_id = #{record.typeId,jdbcType=BIGINT}, channel_id = #{record.channelId,jdbcType=BIGINT}, `enable` = #{record.enable,jdbcType=BIT}, update sys_msg_setting set msg_setting_id = #{record.msgSettingId,jdbcType=BIGINT}, user_id = #{record.userId,jdbcType=BIGINT}, type_id = #{record.typeId,jdbcType=BIGINT}, channel_id = #{record.channelId,jdbcType=BIGINT}, `enable` = #{record.enable,jdbcType=BIT} update sys_msg_setting user_id = #{userId,jdbcType=BIGINT}, type_id = #{typeId,jdbcType=BIGINT}, channel_id = #{channelId,jdbcType=BIGINT}, `enable` = #{enable,jdbcType=BIT}, where msg_setting_id = #{msgSettingId,jdbcType=BIGINT} update sys_msg_setting set user_id = #{userId,jdbcType=BIGINT}, type_id = #{typeId,jdbcType=BIGINT}, channel_id = #{channelId,jdbcType=BIGINT}, `enable` = #{enable,jdbcType=BIT} where msg_setting_id = #{msgSettingId,jdbcType=BIGINT}