02d77901 by 周伟奇

fix bug

1 parent 668f1c30
......@@ -591,6 +591,7 @@ class UploadDocView(GenericView, DocHandler):
try:
end_time = time.time()
document.pop('uploadFinishTime', None)
duration_second = int(end_time - start_time)
InterfaceReport.objects.create(
source=data_source,
......@@ -674,6 +675,7 @@ class PriorityDocView(GenericView, DocHandler):
try:
end_time = time.time()
duration_second = int(end_time - start_time)
application_info.pop('SUBMIT_DATETIME', None)
InterfaceReport.objects.create(
source=SystemName.GCAP.name,
target=SystemName.OCR.name,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!