select id, workorder_code, workorder_code_sap, product_name, product_code, user_name, nick_name, childprocess_code, childprocess_name, attr1, attr2, attr3, create_by, create_time, update_by, update_time, remark from mes_unitprice_report insert into mes_unitprice_report id, workorder_code, workorder_code_sap, product_name, product_code, user_name, nick_name, childprocess_code, childprocess_name, attr1, attr2, attr3, create_by, create_time, update_by, update_time, remark, #{id}, #{workorderCode}, #{workorderCodeSap}, #{productName}, #{productCode}, #{userName}, #{nickName}, #{childprocessCode}, #{childprocessName}, #{attr1}, #{attr2}, #{attr3}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, update mes_unitprice_report childprocess_code = #{childprocessCode}, childprocess_name = #{childprocessName}, attr1 = #{attr1}, attr2 = #{attr2}, attr3 = #{attr3}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, where id = #{id} delete from mes_unitprice_report where id = #{id} delete from mes_unitprice_report where id in #{id}