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, category_id, title, pic, product_count, recommend_status, create_time, collect_count, read_count, comment_count, album_pics, description, show_status, forward_count, category_name content delete from cms_subject where id = #{id,jdbcType=BIGINT} delete from cms_subject SELECT LAST_INSERT_ID() insert into cms_subject (category_id, title, pic, product_count, recommend_status, create_time, collect_count, read_count, comment_count, album_pics, description, show_status, forward_count, category_name, content ) values (#{categoryId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{productCount,jdbcType=INTEGER}, #{recommendStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{collectCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, #{albumPics,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{showStatus,jdbcType=INTEGER}, #{forwardCount,jdbcType=INTEGER}, #{categoryName,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR} ) SELECT LAST_INSERT_ID() insert into cms_subject category_id, title, pic, product_count, recommend_status, create_time, collect_count, read_count, comment_count, album_pics, description, show_status, forward_count, category_name, content, #{categoryId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{productCount,jdbcType=INTEGER}, #{recommendStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{collectCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, #{albumPics,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{showStatus,jdbcType=INTEGER}, #{forwardCount,jdbcType=INTEGER}, #{categoryName,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR}, update cms_subject id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, title = #{record.title,jdbcType=VARCHAR}, pic = #{record.pic,jdbcType=VARCHAR}, product_count = #{record.productCount,jdbcType=INTEGER}, recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, collect_count = #{record.collectCount,jdbcType=INTEGER}, read_count = #{record.readCount,jdbcType=INTEGER}, comment_count = #{record.commentCount,jdbcType=INTEGER}, album_pics = #{record.albumPics,jdbcType=VARCHAR}, description = #{record.description,jdbcType=VARCHAR}, show_status = #{record.showStatus,jdbcType=INTEGER}, forward_count = #{record.forwardCount,jdbcType=INTEGER}, category_name = #{record.categoryName,jdbcType=VARCHAR}, content = #{record.content,jdbcType=LONGVARCHAR}, update cms_subject set id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, title = #{record.title,jdbcType=VARCHAR}, pic = #{record.pic,jdbcType=VARCHAR}, product_count = #{record.productCount,jdbcType=INTEGER}, recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, collect_count = #{record.collectCount,jdbcType=INTEGER}, read_count = #{record.readCount,jdbcType=INTEGER}, comment_count = #{record.commentCount,jdbcType=INTEGER}, album_pics = #{record.albumPics,jdbcType=VARCHAR}, description = #{record.description,jdbcType=VARCHAR}, show_status = #{record.showStatus,jdbcType=INTEGER}, forward_count = #{record.forwardCount,jdbcType=INTEGER}, category_name = #{record.categoryName,jdbcType=VARCHAR}, content = #{record.content,jdbcType=LONGVARCHAR} update cms_subject set id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, title = #{record.title,jdbcType=VARCHAR}, pic = #{record.pic,jdbcType=VARCHAR}, product_count = #{record.productCount,jdbcType=INTEGER}, recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, collect_count = #{record.collectCount,jdbcType=INTEGER}, read_count = #{record.readCount,jdbcType=INTEGER}, comment_count = #{record.commentCount,jdbcType=INTEGER}, album_pics = #{record.albumPics,jdbcType=VARCHAR}, description = #{record.description,jdbcType=VARCHAR}, show_status = #{record.showStatus,jdbcType=INTEGER}, forward_count = #{record.forwardCount,jdbcType=INTEGER}, category_name = #{record.categoryName,jdbcType=VARCHAR} update cms_subject category_id = #{categoryId,jdbcType=BIGINT}, title = #{title,jdbcType=VARCHAR}, pic = #{pic,jdbcType=VARCHAR}, product_count = #{productCount,jdbcType=INTEGER}, recommend_status = #{recommendStatus,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, collect_count = #{collectCount,jdbcType=INTEGER}, read_count = #{readCount,jdbcType=INTEGER}, comment_count = #{commentCount,jdbcType=INTEGER}, album_pics = #{albumPics,jdbcType=VARCHAR}, description = #{description,jdbcType=VARCHAR}, show_status = #{showStatus,jdbcType=INTEGER}, forward_count = #{forwardCount,jdbcType=INTEGER}, category_name = #{categoryName,jdbcType=VARCHAR}, content = #{content,jdbcType=LONGVARCHAR}, where id = #{id,jdbcType=BIGINT} update cms_subject set category_id = #{categoryId,jdbcType=BIGINT}, title = #{title,jdbcType=VARCHAR}, pic = #{pic,jdbcType=VARCHAR}, product_count = #{productCount,jdbcType=INTEGER}, recommend_status = #{recommendStatus,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, collect_count = #{collectCount,jdbcType=INTEGER}, read_count = #{readCount,jdbcType=INTEGER}, comment_count = #{commentCount,jdbcType=INTEGER}, album_pics = #{albumPics,jdbcType=VARCHAR}, description = #{description,jdbcType=VARCHAR}, show_status = #{showStatus,jdbcType=INTEGER}, forward_count = #{forwardCount,jdbcType=INTEGER}, category_name = #{categoryName,jdbcType=VARCHAR}, content = #{content,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=BIGINT} update cms_subject set category_id = #{categoryId,jdbcType=BIGINT}, title = #{title,jdbcType=VARCHAR}, pic = #{pic,jdbcType=VARCHAR}, product_count = #{productCount,jdbcType=INTEGER}, recommend_status = #{recommendStatus,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, collect_count = #{collectCount,jdbcType=INTEGER}, read_count = #{readCount,jdbcType=INTEGER}, comment_count = #{commentCount,jdbcType=INTEGER}, album_pics = #{albumPics,jdbcType=VARCHAR}, description = #{description,jdbcType=VARCHAR}, show_status = #{showStatus,jdbcType=INTEGER}, forward_count = #{forwardCount,jdbcType=INTEGER}, category_name = #{categoryName,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT}