select id, scrap_code, material__id, material_code, material_name, work_cell_id, work_cell_code, work_cell_name, scrap_quality, unit, status, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time, active from pro_embryo_scrap insert into pro_embryo_scrap id, scrap_code, material__id, material_code, material_name, work_cell_id, work_cell_code, work_cell_name, scrap_quality, unit, status, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time, active, #{id}, #{scrapCode}, #{materialId}, #{materialCode}, #{materialName}, #{workCellId}, #{workCellCode}, #{workCellName}, #{scrapQuality}, #{unit}, #{status}, #{remark}, #{attr1}, #{attr2}, #{attr3}, #{attr4}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{active}, update pro_embryo_scrap scrap_code = #{scrapCode}, material__id = #{materialId}, material_code = #{materialCode}, material_name = #{materialName}, work_cell_id = #{workCellId}, work_cell_code = #{workCellCode}, work_cell_name = #{workCellName}, scrap_quality = #{scrapQuality}, unit = #{unit}, status = #{status}, remark = #{remark}, attr1 = #{attr1}, attr2 = #{attr2}, attr3 = #{attr3}, attr4 = #{attr4}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, active = #{active}, where id = #{id} delete from pro_embryo_scrap where id = #{id} delete from pro_embryo_scrap where id in #{id}