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, runtime, time_slot, date_str, equipment_no delete from mould_cycle_runtime where id = #{id,jdbcType=INTEGER} delete from mould_cycle_runtime SELECT LAST_INSERT_ID() insert into mould_cycle_runtime (runtime, time_slot, date_str, equipment_no) values (#{runtime,jdbcType=INTEGER}, #{timeSlot,jdbcType=VARCHAR}, #{dateStr,jdbcType=VARCHAR}, #{equipmentNo,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into mould_cycle_runtime runtime, time_slot, date_str, equipment_no, #{runtime,jdbcType=INTEGER}, #{timeSlot,jdbcType=VARCHAR}, #{dateStr,jdbcType=VARCHAR}, #{equipmentNo,jdbcType=VARCHAR}, update mould_cycle_runtime id = #{record.id,jdbcType=INTEGER}, runtime = #{record.runtime,jdbcType=INTEGER}, time_slot = #{record.timeSlot,jdbcType=VARCHAR}, date_str = #{record.dateStr,jdbcType=VARCHAR}, equipment_no = #{record.equipmentNo,jdbcType=VARCHAR}, update mould_cycle_runtime set id = #{record.id,jdbcType=INTEGER}, runtime = #{record.runtime,jdbcType=INTEGER}, time_slot = #{record.timeSlot,jdbcType=VARCHAR}, date_str = #{record.dateStr,jdbcType=VARCHAR}, equipment_no = #{record.equipmentNo,jdbcType=VARCHAR} update mould_cycle_runtime runtime = #{runtime,jdbcType=INTEGER}, time_slot = #{timeSlot,jdbcType=VARCHAR}, date_str = #{dateStr,jdbcType=VARCHAR}, equipment_no = #{equipmentNo,jdbcType=VARCHAR}, where id = #{id,jdbcType=INTEGER} update mould_cycle_runtime set runtime = #{runtime,jdbcType=INTEGER}, time_slot = #{timeSlot,jdbcType=VARCHAR}, date_str = #{dateStr,jdbcType=VARCHAR}, equipment_no = #{equipmentNo,jdbcType=VARCHAR} where id = #{id,jdbcType=INTEGER}