select id, apply_id, tool_id, tool_code, tool_name, tool_type, tool_principals, tool_principals_name, tool_resp_dept from t_use_apply_item insert into t_use_apply_item id, apply_id, tool_id, tool_code, tool_name, tool_type, tool_principals, tool_principals_name, tool_resp_dept, #{id}, #{applyId}, #{toolId}, #{toolCode}, #{toolName}, #{toolType}, #{toolPrincipals}, #{toolPrincipalsName}, #{toolRespDept}, update t_use_apply_item apply_id = #{applyId}, tool_id = #{toolId}, tool_code = #{toolCode}, tool_name = #{toolName}, tool_type = #{toolType}, tool_principals = #{toolPrincipals}, tool_principals_name = #{toolPrincipalsName}, tool_resp_dept = #{toolRespDept}, where id = #{id} delete from t_use_apply_item where id = #{id} delete from t_use_apply_item where id in #{id} delete from t_use_apply_item where apply_id = #{applyId}