select tool_id, tool_code, tool_name, tool_type, tool_source, tool_use, test_situation, function_desc, apply_condition, operate_explain, tool_principals, tool_principals_name, tool_resp_dept, status, remark, create_by, create_time, update_by, update_time,proc_inst_id,record_status,association from t_tool
insert into t_tool
tool_id,
tool_code,
tool_name,
tool_type,
tool_source,
tool_use,
test_situation,
function_desc,
apply_condition,
operate_explain,
tool_principals,
tool_principals_name,
tool_resp_dept,
status,
remark,
create_by,
create_time,
update_by,
update_time,
proc_inst_id,
record_status,
association,
#{toolId},
#{toolCode},
#{toolName},
#{toolType},
#{toolSource},
#{toolUse},
#{testSituation},
#{functionDesc},
#{applyCondition},
#{operateExplain},
#{toolPrincipals},
#{toolPrincipalsName},
#{toolRespDept},
#{status},
#{remark},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{procInstId},
#{recordStatus},
#{association},
update t_tool
tool_code = #{toolCode},
tool_name = #{toolName},
tool_type = #{toolType},
tool_source = #{toolSource},
tool_use = #{toolUse},
test_situation = #{testSituation},
function_desc = #{functionDesc},
apply_condition = #{applyCondition},
operate_explain = #{operateExplain},
tool_principals = #{toolPrincipals},
tool_principals_name = #{toolPrincipalsName},
tool_resp_dept = #{toolRespDept},
status = #{status},
remark = #{remark},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
record_status = #{recordStatus},
association = #{association},
where tool_id = #{toolId}
delete from t_tool where tool_id = #{toolId}
delete from t_tool where tool_id in
#{toolId}