select TECHNOLOGY_BOM_ID, FIGURE_CODE, PROCESS_CODE, PROCESS_NAME, KNIFE_CODE, KNIFE_SORT, KNIFE_COUNT, EXPEND_LIFE, LOCKED_START_TIME, LOCKED_END_TIME, REMARK, ATTR1, ATTR2, ATTR3, ATTR4, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME from BASE_TECHNOLOGY_BOM insert into BASE_TECHNOLOGY_BOM FIGURE_CODE, PROCESS_CODE, PROCESS_NAME, KNIFE_CODE, KNIFE_SORT, KNIFE_COUNT, EXPEND_LIFE, LOCKED_START_TIME, LOCKED_END_TIME, REMARK, ATTR1, ATTR2, ATTR3, ATTR4, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, #{figureCode}, #{processCode}, #{processName}, #{knifeCode}, #{knifeSort}, #{knifeCount}, #{expendLife}, #{lockedStartTime}, #{lockedEndTime}, #{remark}, #{attr1}, #{attr2}, #{attr3}, #{attr4}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update BASE_TECHNOLOGY_BOM FIGURE_CODE = #{figureCode}, PROCESS_CODE = #{processCode}, PROCESS_NAME = #{processName}, KNIFE_CODE = #{knifeCode}, KNIFE_SORT = #{knifeSort}, KNIFE_COUNT = #{knifeCount}, EXPEND_LIFE = #{expendLife}, LOCKED_START_TIME = #{lockedStartTime}, LOCKED_END_TIME = #{lockedEndTime}, REMARK = #{remark}, ATTR1 = #{attr1}, ATTR2 = #{attr2}, ATTR3 = #{attr3}, ATTR4 = #{attr4}, CREATE_BY = #{createBy}, CREATE_TIME = #{createTime}, UPDATE_BY = #{updateBy}, UPDATE_TIME = #{updateTime}, where TECHNOLOGY_BOM_ID = #{technologyBomId} delete from BASE_TECHNOLOGY_BOM where TECHNOLOGY_BOM_ID = #{technologyBomId} delete from BASE_TECHNOLOGY_BOM where TECHNOLOGY_BOM_ID in #{technologyBomId}