08ce1a04 by 周伟奇

add version

1 parent 9376a8f2
...@@ -841,6 +841,8 @@ def se_compare(application_id, application_entity, ocr_res_id, last_obj, ocr_res ...@@ -841,6 +841,8 @@ def se_compare(application_id, application_entity, ocr_res_id, last_obj, ocr_res
841 res_obj.application_id = application_id 841 res_obj.application_id = application_id
842 res_obj.compare_count = total_fields 842 res_obj.compare_count = total_fields
843 res_obj.failed_count = failed_count 843 res_obj.failed_count = failed_count
844 res_obj.is_finish = failed_count == 0
845 res_obj.version = 'POS-{0}'.format(last_obj.application_version)
844 # res_obj.reason1_count = reason1_count 846 # res_obj.reason1_count = reason1_count
845 res_obj.result = json.dumps(compare_result) 847 res_obj.result = json.dumps(compare_result)
846 res_obj.save() 848 res_obj.save()
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!