select id, workorder_code, workorder_code_sap, product_name, product_code, user_name, nick_name, childprocess_code, childprocess_name, attr1, attr2, attr3,kk,bd,zg,fg,sc,sj,tsfy,ybbt,xcbt,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 attr1 = #{attr1}, attr2 = #{attr2}, attr3 = #{attr3}, bd = #{bd}, kk = #{kk}, zg = #{zg}, fg = #{fg}, sc = #{sc}, sj = #{sj}, tsfy = #{tsfy}, ybbt = #{ybbt}, xcbt = #{xcbt}, 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}