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, product_id, show_page, cover_img, start_date, end_date, category, effective delete from marketing_management where id = #{id,jdbcType=VARCHAR} delete from marketing_management insert into marketing_management (id, product_id, show_page, cover_img, start_date, end_date, category, effective) values (#{id,jdbcType=VARCHAR}, #{productId,jdbcType=VARCHAR}, #{showPage,jdbcType=VARCHAR}, #{coverImg,jdbcType=VARCHAR}, #{startDate,jdbcType=TIMESTAMP}, #{endDate,jdbcType=TIMESTAMP}, #{category,jdbcType=INTEGER}, #{effective,jdbcType=INTEGER}) insert into marketing_management id, product_id, show_page, cover_img, start_date, end_date, category, effective, #{id,jdbcType=VARCHAR}, #{productId,jdbcType=VARCHAR}, #{showPage,jdbcType=VARCHAR}, #{coverImg,jdbcType=VARCHAR}, #{startDate,jdbcType=TIMESTAMP}, #{endDate,jdbcType=TIMESTAMP}, #{category,jdbcType=INTEGER}, #{effective,jdbcType=INTEGER}, update marketing_management id = #{record.id,jdbcType=VARCHAR}, product_id = #{record.productId,jdbcType=VARCHAR}, show_page = #{record.showPage,jdbcType=VARCHAR}, cover_img = #{record.coverImg,jdbcType=VARCHAR}, start_date = #{record.startDate,jdbcType=TIMESTAMP}, end_date = #{record.endDate,jdbcType=TIMESTAMP}, category = #{record.category,jdbcType=INTEGER}, effective = #{record.effective,jdbcType=INTEGER}, update marketing_management set id = #{record.id,jdbcType=VARCHAR}, product_id = #{record.productId,jdbcType=VARCHAR}, show_page = #{record.showPage,jdbcType=VARCHAR}, cover_img = #{record.coverImg,jdbcType=VARCHAR}, start_date = #{record.startDate,jdbcType=TIMESTAMP}, end_date = #{record.endDate,jdbcType=TIMESTAMP}, category = #{record.category,jdbcType=INTEGER}, effective = #{record.effective,jdbcType=INTEGER} update marketing_management product_id = #{productId,jdbcType=VARCHAR}, show_page = #{showPage,jdbcType=VARCHAR}, cover_img = #{coverImg,jdbcType=VARCHAR}, start_date = #{startDate,jdbcType=TIMESTAMP}, end_date = #{endDate,jdbcType=TIMESTAMP}, category = #{category,jdbcType=INTEGER}, effective = #{effective,jdbcType=INTEGER}, where id = #{id,jdbcType=VARCHAR} update marketing_management set product_id = #{productId,jdbcType=VARCHAR}, show_page = #{showPage,jdbcType=VARCHAR}, cover_img = #{coverImg,jdbcType=VARCHAR}, start_date = #{startDate,jdbcType=TIMESTAMP}, end_date = #{endDate,jdbcType=TIMESTAMP}, category = #{category,jdbcType=INTEGER}, effective = #{effective,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR}