update migrate csv

This commit is contained in:
daovietanh99 2024-02-15 14:36:01 +07:00
parent d6518c85e5
commit 1416cd04d2
2 changed files with 5 additions and 5 deletions

@ -1 +1 @@
Subproject commit b6d4fab46f7f8689dd6b050cfbff2faa6a6f3fec Subproject commit 6907ea0183b141e3b4f3c21758c9123f1e9b2a27

View File

@ -53,14 +53,14 @@ class Command(BaseCommand):
is_match = True is_match = True
if field == 'imei_number': if field == 'imei_number':
if not reviewed_result == request_review: if not reviewed_result in request_review["imei_number"]:
request_review["imei_number"].append(reviewed_result) request_review["imei_number"].append(reviewed_result)
if not user_feedback == request_feedback: if not user_feedback in request_feedback["imei_number"]:
request_feedback["imei_number"].append(user_feedback) request_feedback["imei_number"].append(user_feedback)
else: else:
if not reviewed_result == request_review: if not reviewed_result == request_review[field]:
request_review[field] = reviewed_result request_review[field] = reviewed_result
if not user_feedback == request_feedback: if not user_feedback == request_feedback[field]:
request_feedback[field] = user_feedback request_feedback[field] = user_feedback
_predict_result = copy.deepcopy(predict_result_to_ready(request.predict_result)) _predict_result = copy.deepcopy(predict_result_to_ready(request.predict_result))