select line_id, issue_id, material_stock_id, item_id, item_code, item_name, specification, unit_of_measure, quantity_issued, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_outsource_issue_line insert into wm_outsource_issue_line issue_id, material_stock_id, item_id, item_code, item_name, specification, unit_of_measure, quantity_issued, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time, #{issueId}, #{materialStockId}, #{itemId}, #{itemCode}, #{itemName}, #{specification}, #{unitOfMeasure}, #{quantityIssued}, #{batchCode}, #{warehouseId}, #{warehouseCode}, #{warehouseName}, #{locationId}, #{locationCode}, #{locationName}, #{areaId}, #{areaCode}, #{areaName}, #{remark}, #{attr1}, #{attr2}, #{attr3}, #{attr4}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update wm_outsource_issue_line issue_id = #{issueId}, material_stock_id = #{materialStockId}, item_id = #{itemId}, item_code = #{itemCode}, item_name = #{itemName}, specification = #{specification}, unit_of_measure = #{unitOfMeasure}, quantity_issued = #{quantityIssued}, 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}, 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_outsource_issue_line where line_id = #{lineId} delete from wm_outsource_issue_line where issue_id = #{issueId} delete from wm_outsource_issue_line where line_id in #{lineId}