select record_id, workstation_id, tool_type_id, tool_type_code, tool_type_name, quantity, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from md_workstation_tool
insert into md_workstation_tool
workstation_id,
tool_type_id,
tool_type_code,
tool_type_name,
quantity,
remark,
attr1,
attr2,
attr3,
attr4,
create_by,
create_time,
update_by,
update_time,
#{workstationId},
#{toolTypeId},
#{toolTypeCode},
#{toolTypeName},
#{quantity},
#{remark},
#{attr1},
#{attr2},
#{attr3},
#{attr4},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update md_workstation_tool
workstation_id = #{workstationId},
tool_type_id = #{toolTypeId},
tool_type_code = #{toolTypeCode},
tool_type_name = #{toolTypeName},
quantity = #{quantity},
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 md_workstation_tool where record_id = #{recordId}
delete from md_workstation_tool where record_id in
#{recordId}
delete from md_workstation_tool where workstation_id = #{workstationId}