Commit 5b36144d authored by 任婷婷's avatar 任婷婷

add score

parent 0d1b4566
...@@ -125,6 +125,7 @@ def update_tag3_user_portrait(cl_id): ...@@ -125,6 +125,7 @@ def update_tag3_user_portrait(cl_id):
cl_id_single = key cl_id_single = key
for item in values.keys(): for item in values.keys():
if values[item]: if values[item]:
first_solutions = values[item].get("first_solutions", []) first_solutions = values[item].get("first_solutions", [])
first_positions = values[item].get("first_positions", []) first_positions = values[item].get("first_positions", [])
first_demands = values[item].get("first_demands", []) first_demands = values[item].get("first_demands", [])
......
...@@ -521,11 +521,12 @@ def user_portrait_action_statistic(cl_id): ...@@ -521,11 +521,12 @@ def user_portrait_action_statistic(cl_id):
# print(e) # print(e)
# #
#
# CREATE TABLE `user_portrait_action_divided_score` ( # CREATE TABLE `user_portrait_action_divided_score` (
# `id` int(11) NOT NULL AUTO_INCREMENT, # `id` int(11) NOT NULL AUTO_INCREMENT,
# `date` text NOT NULL, # `date` text NOT NULL,
# `cl_id` text NOT NULL, # `cl_id` text NOT NULL,
# `event_cn` text NOT NULL,
# `first_solutions` text NOT NULL, # `first_solutions` text NOT NULL,
# `second_solutions` text NOT NULL, # `second_solutions` text NOT NULL,
# `first_demands` text NOT NULL, # `first_demands` text NOT NULL,
......
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