select line_id, rt_id, item_id, item_code, item_name, specification, unit_of_measure, quantity_rted, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, expire_date, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_rt_salse_line insert into wm_rt_salse_line rt_id, item_id, item_code, item_name, specification, unit_of_measure, quantity_rted, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, expire_date, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time, #{rtId}, #{itemId}, #{itemCode}, #{itemName}, #{specification}, #{unitOfMeasure}, #{quantityRted}, #{batchCode}, #{warehouseId}, #{warehouseCode}, #{warehouseName}, #{locationId}, #{locationCode}, #{locationName}, #{areaId}, #{areaCode}, #{areaName}, #{expireDate}, #{remark}, #{attr1}, #{attr2}, #{attr3}, #{attr4}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update wm_rt_salse_line rt_id = #{rtId}, item_id = #{itemId}, item_code = #{itemCode}, item_name = #{itemName}, specification = #{specification}, unit_of_measure = #{unitOfMeasure}, quantity_rted = #{quantityRted}, batch_code = #{batchCode}, warehouse_id = #{warehouseId}, warehouse_code = #{warehouseCode}, warehouse_name = #{warehouseName}, location_id = #{locationId}, location_code = #{locationCode}, location_name = #{locationName}, area_id = #{areaId}, area_code = #{areaCode}, area_name = #{areaName}, expire_date = #{expireDate}, remark = #{remark}, attr1 = #{attr1}, attr2 = #{attr2}, attr3 = #{attr3}, attr4 = #{attr4}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where line_id = #{lineId} delete from wm_rt_salse_line where line_id = #{lineId} delete from wm_rt_salse_line where line_id in #{lineId} delete from wm_rt_salse_line where rt_id = #{rtId}