select id, factory_code, plan_time, sync_flag, create_by, create_time, update_by, update_time, order_type, prod_code, prod_desc, prod_source, quantity, unit, atrr1, atrr2, atrr3, status, prod_type, plan_code, shift_id, shift_desc from pro_wet_material_plan insert into pro_wet_material_plan id, factory_code, plan_time, sync_flag, create_by, create_time, update_by, update_time, order_type, prod_code, prod_desc, prod_source, quantity, unit, atrr1, atrr2, atrr3, status, prod_type, plan_code, shift_id, shift_desc, #{id}, #{factoryCode}, #{planTime}, #{syncFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{orderType}, #{prodCode}, #{prodDesc}, #{prodSource}, #{quantity}, #{unit}, #{atrr1}, #{atrr2}, #{atrr3}, #{status}, #{prodType}, #{planCode}, #{shiftId}, #{shiftDesc}, update pro_wet_material_plan factory_code = #{factoryCode}, plan_time = #{planTime}, sync_flag = #{syncFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, order_type = #{orderType}, prod_code = #{prodCode}, prod_desc = #{prodDesc}, prod_source = #{prodSource}, quantity = #{quantity}, unit = #{unit}, atrr1 = #{atrr1}, atrr2 = #{atrr2}, atrr3 = #{atrr3}, status = #{status}, prod_type = #{prodType}, plan_code = #{planCode}, plan_code = #{shiftId}, plan_code = #{shiftDesc}, where id = #{id} delete from pro_wet_material_plan where id = #{id} delete from pro_wet_material_plan where id in #{id}