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, member_nick_name, product_name, star, member_ip, create_time, show_status, product_attribute, collect_couont, read_count, pics, member_icon, replay_count content delete from pms_comment where id = #{id,jdbcType=BIGINT} delete from pms_comment SELECT LAST_INSERT_ID() insert into pms_comment (product_id, member_nick_name, product_name, star, member_ip, create_time, show_status, product_attribute, collect_couont, read_count, pics, member_icon, replay_count, content) values (#{productId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{star,jdbcType=INTEGER}, #{memberIp,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER}, #{productAttribute,jdbcType=VARCHAR}, #{collectCouont,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{pics,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, #{replayCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR}) SELECT LAST_INSERT_ID() insert into pms_comment product_id, member_nick_name, product_name, star, member_ip, create_time, show_status, product_attribute, collect_couont, read_count, pics, member_icon, replay_count, content, #{productId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{star,jdbcType=INTEGER}, #{memberIp,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER}, #{productAttribute,jdbcType=VARCHAR}, #{collectCouont,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{pics,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, #{replayCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR}, update pms_comment id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, product_name = #{record.productName,jdbcType=VARCHAR}, star = #{record.star,jdbcType=INTEGER}, member_ip = #{record.memberIp,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, show_status = #{record.showStatus,jdbcType=INTEGER}, product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, collect_couont = #{record.collectCouont,jdbcType=INTEGER}, read_count = #{record.readCount,jdbcType=INTEGER}, pics = #{record.pics,jdbcType=VARCHAR}, member_icon = #{record.memberIcon,jdbcType=VARCHAR}, replay_count = #{record.replayCount,jdbcType=INTEGER}, content = #{record.content,jdbcType=LONGVARCHAR}, update pms_comment set id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, product_name = #{record.productName,jdbcType=VARCHAR}, star = #{record.star,jdbcType=INTEGER}, member_ip = #{record.memberIp,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, show_status = #{record.showStatus,jdbcType=INTEGER}, product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, collect_couont = #{record.collectCouont,jdbcType=INTEGER}, read_count = #{record.readCount,jdbcType=INTEGER}, pics = #{record.pics,jdbcType=VARCHAR}, member_icon = #{record.memberIcon,jdbcType=VARCHAR}, replay_count = #{record.replayCount,jdbcType=INTEGER}, content = #{record.content,jdbcType=LONGVARCHAR} update pms_comment set id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, product_name = #{record.productName,jdbcType=VARCHAR}, star = #{record.star,jdbcType=INTEGER}, member_ip = #{record.memberIp,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, show_status = #{record.showStatus,jdbcType=INTEGER}, product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, collect_couont = #{record.collectCouont,jdbcType=INTEGER}, read_count = #{record.readCount,jdbcType=INTEGER}, pics = #{record.pics,jdbcType=VARCHAR}, member_icon = #{record.memberIcon,jdbcType=VARCHAR}, replay_count = #{record.replayCount,jdbcType=INTEGER} update pms_comment product_id = #{productId,jdbcType=BIGINT}, member_nick_name = #{memberNickName,jdbcType=VARCHAR}, product_name = #{productName,jdbcType=VARCHAR}, star = #{star,jdbcType=INTEGER}, member_ip = #{memberIp,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, show_status = #{showStatus,jdbcType=INTEGER}, product_attribute = #{productAttribute,jdbcType=VARCHAR}, collect_couont = #{collectCouont,jdbcType=INTEGER}, read_count = #{readCount,jdbcType=INTEGER}, pics = #{pics,jdbcType=VARCHAR}, member_icon = #{memberIcon,jdbcType=VARCHAR}, replay_count = #{replayCount,jdbcType=INTEGER}, content = #{content,jdbcType=LONGVARCHAR}, where id = #{id,jdbcType=BIGINT} update pms_comment set product_id = #{productId,jdbcType=BIGINT}, member_nick_name = #{memberNickName,jdbcType=VARCHAR}, product_name = #{productName,jdbcType=VARCHAR}, star = #{star,jdbcType=INTEGER}, member_ip = #{memberIp,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, show_status = #{showStatus,jdbcType=INTEGER}, product_attribute = #{productAttribute,jdbcType=VARCHAR}, collect_couont = #{collectCouont,jdbcType=INTEGER}, read_count = #{readCount,jdbcType=INTEGER}, pics = #{pics,jdbcType=VARCHAR}, member_icon = #{memberIcon,jdbcType=VARCHAR}, replay_count = #{replayCount,jdbcType=INTEGER}, content = #{content,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=BIGINT} update pms_comment set product_id = #{productId,jdbcType=BIGINT}, member_nick_name = #{memberNickName,jdbcType=VARCHAR}, product_name = #{productName,jdbcType=VARCHAR}, star = #{star,jdbcType=INTEGER}, member_ip = #{memberIp,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, show_status = #{showStatus,jdbcType=INTEGER}, product_attribute = #{productAttribute,jdbcType=VARCHAR}, collect_couont = #{collectCouont,jdbcType=INTEGER}, read_count = #{readCount,jdbcType=INTEGER}, pics = #{pics,jdbcType=VARCHAR}, member_icon = #{memberIcon,jdbcType=VARCHAR}, replay_count = #{replayCount,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT}