Commit 2a0afa2b authored by 臧远慧's avatar 臧远慧

注掉没用的部分

parent 28ffec54
......@@ -307,33 +307,33 @@ def get_questions(pks):
res['score'] = Score.get_score(q)
res['operators_add_tags'] = get_tag_v3_operators_tags(content_id=q.id, content_type="question")
(need_refresh_data, second_demands_list, second_solutions_list, second_positions_list,
second_demands_ids_list,
second_solutions_ids_list, second_positions_ids_list,
first_demands_ids_list, first_solutions_ids_list, first_positions_ids_list, first_demands_list,
first_solutions_list, first_positions_list,
project_tags_list, project_tags_ids_list, first_classify_ids_list, first_classify_names_list,
second_classify_ids_list, second_classify_names_list) = get_tagv3_analysis_info(content_id=res["id"],
content_type="question")
if need_refresh_data:
item["tags_v3"] = list(project_tags_list)
item["first_demands"] = list(first_demands_list)
item["second_demands"] = list(second_demands_list)
item["first_solutions"] = list(first_solutions_list)
item["second_solutions"] = list(second_solutions_list)
item["positions"] = list(first_positions_list)
item["second_positions"] = list(second_positions_list)
item["tagv3_ids"] = list(project_tags_ids_list)
item["first_demands_ids"] = list(first_demands_ids_list)
item["second_demands_ids"] = list(second_demands_ids_list)
item["first_solutions_ids"] = list(first_solutions_ids_list)
item["second_solutions_ids"] = list(second_solutions_ids_list)
item["first_positions_ids"] = list(first_positions_ids_list)
item["second_positions_ids"] = list(second_positions_ids_list)
item["first_classify_ids"] = list(first_classify_ids_list)
item["first_classify_names"] = list(first_classify_names_list)
item["second_classify_ids"] = list(second_classify_ids_list)
item["second_classify_names"] = list(second_classify_names_list)
# (need_refresh_data, second_demands_list, second_solutions_list, second_positions_list,
# second_demands_ids_list,
# second_solutions_ids_list, second_positions_ids_list,
# first_demands_ids_list, first_solutions_ids_list, first_positions_ids_list, first_demands_list,
# first_solutions_list, first_positions_list,
# project_tags_list, project_tags_ids_list, first_classify_ids_list, first_classify_names_list,
# second_classify_ids_list, second_classify_names_list) = get_tagv3_analysis_info(content_id=res["id"],
# ontent_type="question")
# if need_refresh_data:
# item["tags_v3"] = list(project_tags_list)
# item["first_demands"] = list(first_demands_list)
# item["second_demands"] = list(second_demands_list)
# item["first_solutions"] = list(first_solutions_list)
# item["second_solutions"] = list(second_solutions_list)
# item["positions"] = list(first_positions_list)
# item["second_positions"] = list(second_positions_list)
# item["tagv3_ids"] = list(project_tags_ids_list)
# item["first_demands_ids"] = list(first_demands_ids_list)
# item["second_demands_ids"] = list(second_demands_ids_list)
# item["first_solutions_ids"] = list(first_solutions_ids_list)
# item["second_solutions_ids"] = list(second_solutions_ids_list)
# item["first_positions_ids"] = list(first_positions_ids_list)
# item["second_positions_ids"] = list(second_positions_ids_list)
# item["first_classify_ids"] = list(first_classify_ids_list)
# item["first_classify_names"] = list(first_classify_names_list)
# item["second_classify_ids"] = list(second_classify_ids_list)
# item["second_classify_names"] = list(second_classify_names_list)
results.append(res)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment