select id, factory_code, wet_material_plan_id, workorder_id, atrr1, atrr2, atrr3, status, create_by, create_time, update_by, update_time, bucket_id, bucket_code, material_code, material_id, material_name, product_name, shift_id, shift_code, shift_desc, plan_time from pro_wet_material_plan_detail insert into pro_wet_material_plan_detail id, factory_code, wet_material_plan_id, workorder_id, atrr1, atrr2, atrr3, status, create_by, create_time, update_by, update_time, bucket_id, bucket_code, material_code, material_id, material_name, product_name, shift_id, shift_code, shift_desc, plan_time, #{id}, #{factoryCode}, #{wetMaterialPlanId}, #{workorderId}, #{atrr1}, #{atrr2}, #{atrr3}, #{status}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{bucketId}, #{bucketCode}, #{materialCode}, #{materialId}, #{materialName}, #{productName}, #{shiftId}, #{shiftCode}, #{shiftDesc}, #{planTime}, update pro_wet_material_plan_detail factory_code = #{factoryCode}, wet_material_plan_id = #{wetMaterialPlanId}, workorder_id = #{workorderId}, atrr1 = #{atrr1}, atrr2 = #{atrr2}, atrr3 = #{atrr3}, status = #{status}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, bucket_id = #{bucketId}, bucket_code = #{bucketCode}, material_code = #{materialCode}, material_id = #{materialId}, material_name = #{materialName}, product_name = #{productName}, shift_id = #{shiftId}, shift_code = #{shiftCode}, shift_desc = #{shiftDesc}, plan_time = #{planTime}, where id = #{id} delete from pro_wet_material_plan_detail where id = #{id} delete from pro_wet_material_plan_detail where id in #{id}