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, equipment_no, packet_str, indate, is_use, threshold delete from mould_down_packet where id = #{id,jdbcType=INTEGER} delete from mould_down_packet SELECT LAST_INSERT_ID() insert into mould_down_packet (equipment_no, packet_str, indate, is_use, threshold) values (#{equipmentNo,jdbcType=VARCHAR}, #{packetStr,jdbcType=VARCHAR}, #{indate,jdbcType=TIMESTAMP}, #{isUse,jdbcType=INTEGER}, #{threshold,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into mould_down_packet equipment_no, packet_str, indate, is_use, threshold, #{equipmentNo,jdbcType=VARCHAR}, #{packetStr,jdbcType=VARCHAR}, #{indate,jdbcType=TIMESTAMP}, #{isUse,jdbcType=INTEGER}, #{threshold,jdbcType=VARCHAR}, update mould_down_packet id = #{record.id,jdbcType=INTEGER}, equipment_no = #{record.equipmentNo,jdbcType=VARCHAR}, packet_str = #{record.packetStr,jdbcType=VARCHAR}, indate = #{record.indate,jdbcType=TIMESTAMP}, is_use = #{record.isUse,jdbcType=INTEGER}, threshold = #{record.threshold,jdbcType=VARCHAR}, update mould_down_packet set id = #{record.id,jdbcType=INTEGER}, equipment_no = #{record.equipmentNo,jdbcType=VARCHAR}, packet_str = #{record.packetStr,jdbcType=VARCHAR}, indate = #{record.indate,jdbcType=TIMESTAMP}, is_use = #{record.isUse,jdbcType=INTEGER}, threshold = #{record.threshold,jdbcType=VARCHAR} update mould_down_packet equipment_no = #{equipmentNo,jdbcType=VARCHAR}, packet_str = #{packetStr,jdbcType=VARCHAR}, indate = #{indate,jdbcType=TIMESTAMP}, is_use = #{isUse,jdbcType=INTEGER}, threshold = #{threshold,jdbcType=VARCHAR}, where id = #{id,jdbcType=INTEGER} update mould_down_packet set equipment_no = #{equipmentNo,jdbcType=VARCHAR}, packet_str = #{packetStr,jdbcType=VARCHAR}, indate = #{indate,jdbcType=TIMESTAMP}, is_use = #{isUse,jdbcType=INTEGER}, threshold = #{threshold,jdbcType=VARCHAR} where id = #{id,jdbcType=INTEGER}