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, user_id, map_id, map_name delete from user_subscribe where id = #{id,jdbcType=BIGINT} delete from user_subscribe SELECT LAST_INSERT_ID() insert into user_subscribe (user_id, map_id, map_name ) values (#{userId,jdbcType=BIGINT}, #{mapId,jdbcType=BIGINT}, #{mapName,jdbcType=VARCHAR} ) SELECT LAST_INSERT_ID() insert into user_subscribe user_id, map_id, map_name, #{userId,jdbcType=BIGINT}, #{mapId,jdbcType=BIGINT}, #{mapName,jdbcType=VARCHAR}, update user_subscribe id = #{record.id,jdbcType=BIGINT}, user_id = #{record.userId,jdbcType=BIGINT}, map_id = #{record.mapId,jdbcType=BIGINT}, map_name = #{record.mapName,jdbcType=VARCHAR}, update user_subscribe set id = #{record.id,jdbcType=BIGINT}, user_id = #{record.userId,jdbcType=BIGINT}, map_id = #{record.mapId,jdbcType=BIGINT}, map_name = #{record.mapName,jdbcType=VARCHAR} update user_subscribe user_id = #{userId,jdbcType=BIGINT}, map_id = #{mapId,jdbcType=BIGINT}, map_name = #{mapName,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update user_subscribe set user_id = #{userId,jdbcType=BIGINT}, map_id = #{mapId,jdbcType=BIGINT}, map_name = #{mapName,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT}