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, member_id, member_name, money, product_id, product_name, create_time, comp_name, comp_id delete from ums_roll_buy where id = #{id,jdbcType=BIGINT} delete from ums_roll_buy SELECT LAST_INSERT_ID() insert into ums_roll_buy (member_id, member_name, money, product_id, product_name, create_time, comp_name, comp_id) values (#{memberId,jdbcType=BIGINT}, #{memberName,jdbcType=VARCHAR}, #{money,jdbcType=DECIMAL}, #{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{compName,jdbcType=VARCHAR}, #{compId,jdbcType=BIGINT}) SELECT LAST_INSERT_ID() insert into ums_roll_buy member_id, member_name, money, product_id, product_name, create_time, comp_name, comp_id, #{memberId,jdbcType=BIGINT}, #{memberName,jdbcType=VARCHAR}, #{money,jdbcType=DECIMAL}, #{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{compName,jdbcType=VARCHAR}, #{compId,jdbcType=BIGINT}, update ums_roll_buy id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, member_name = #{record.memberName,jdbcType=VARCHAR}, money = #{record.money,jdbcType=DECIMAL}, product_id = #{record.productId,jdbcType=BIGINT}, product_name = #{record.productName,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, comp_name = #{record.compName,jdbcType=VARCHAR}, comp_id = #{record.compId,jdbcType=BIGINT}, update ums_roll_buy set id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, member_name = #{record.memberName,jdbcType=VARCHAR}, money = #{record.money,jdbcType=DECIMAL}, product_id = #{record.productId,jdbcType=BIGINT}, product_name = #{record.productName,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, comp_name = #{record.compName,jdbcType=VARCHAR}, comp_id = #{record.compId,jdbcType=BIGINT} update ums_roll_buy member_id = #{memberId,jdbcType=BIGINT}, member_name = #{memberName,jdbcType=VARCHAR}, money = #{money,jdbcType=DECIMAL}, product_id = #{productId,jdbcType=BIGINT}, product_name = #{productName,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, comp_name = #{compName,jdbcType=VARCHAR}, comp_id = #{compId,jdbcType=BIGINT}, where id = #{id,jdbcType=BIGINT} update ums_roll_buy set member_id = #{memberId,jdbcType=BIGINT}, member_name = #{memberName,jdbcType=VARCHAR}, money = #{money,jdbcType=DECIMAL}, product_id = #{productId,jdbcType=BIGINT}, product_name = #{productName,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, comp_name = #{compName,jdbcType=VARCHAR}, comp_id = #{compId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT} SELECT LAST_INSERT_ID() insert into ums_roll_buy (member_id, member_name, money, product_id, product_name, create_time, comp_name, comp_id) values (#{item.memberId,jdbcType=BIGINT}, #{item.memberName,jdbcType=VARCHAR}, #{item.money,jdbcType=DECIMAL}, #{item.productId,jdbcType=BIGINT}, #{item.productName,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.compName,jdbcType=VARCHAR}, #{item.compId,jdbcType=BIGINT})