select record_id, task_id, workorder_id, workstation_id, source_doc_id, source_doc_code, source_doc_type, batch_code, source_line_id, item_id, item_code, item_name, specification, unit_of_measure, quantity_issued, quantity_available, quantity_used, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from pro_task_issue insert into pro_task_issue task_id, workorder_id, workstation_id, source_doc_id, source_doc_code, source_doc_type, batch_code, source_line_id, item_id, item_code, item_name, specification, unit_of_measure, quantity_issued, quantity_available, quantity_used, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time, #{taskId}, #{workorderId}, #{workstationId}, #{sourceDocId}, #{sourceDocCode}, #{sourceDocType}, #{batchCode}, #{sourceLineId}, #{itemId}, #{itemCode}, #{itemName}, #{specification}, #{unitOfMeasure}, #{quantityIssued}, #{quantityAvailable}, #{quantityUsed}, #{remark}, #{attr1}, #{attr2}, #{attr3}, #{attr4}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update pro_task_issue task_id = #{taskId}, workorder_id = #{workorderId}, workstation_id = #{workstationId}, source_doc_id = #{sourceDocId}, source_doc_code = #{sourceDocCode}, source_doc_type = #{sourceDocType}, batch_code = #{batchCode}, source_line_id = #{sourceLineId}, item_id = #{itemId}, item_code = #{itemCode}, item_name = #{itemName}, specification = #{specification}, unit_of_measure = #{unitOfMeasure}, quantity_issued = #{quantityIssued}, quantity_available = #{quantityAvailable}, quantity_used = #{quantityUsed}, remark = #{remark}, attr1 = #{attr1}, attr2 = #{attr2}, attr3 = #{attr3}, attr4 = #{attr4}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where record_id = #{recordId} delete from pro_task_issue where record_id = #{recordId} delete from pro_task_issue where record_id in #{recordId}