merge
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -1288,9 +1288,9 @@ class Command(BaseCommand, LoggerMixin): | ... | @@ -1288,9 +1288,9 @@ class Command(BaseCommand, LoggerMixin): |
1288 | shutil.move(pdf_path, target_pdf_path) | 1288 | shutil.move(pdf_path, target_pdf_path) |
1289 | 1289 | ||
1290 | if '微信支付交易明细证明' in os.path.basename(pdf_path) or '微信流水' in os.path.basename(pdf_path): | 1290 | if '微信支付交易明细证明' in os.path.basename(pdf_path) or '微信流水' in os.path.basename(pdf_path): |
1291 | pdf_task_str = consts.SPLIT_STR.join([business_type, str(pdf_doc.id), '12']) | 1291 | pdf_task_str = consts.SPLIT_STR.join([business_type, str(pdf_doc.id), '12', re_ocr_flag]) |
1292 | else: | 1292 | else: |
1293 | pdf_task_str = consts.SPLIT_STR.join([business_type, str(pdf_doc.id), '0']) | 1293 | pdf_task_str = consts.SPLIT_STR.join([business_type, str(pdf_doc.id), '0', re_ocr_flag]) |
1294 | pdf_task_str_list.append(pdf_task_str) | 1294 | pdf_task_str_list.append(pdf_task_str) |
1295 | except Exception as e: | 1295 | except Exception as e: |
1296 | self.online_log.warn('{0} [zip_2_pdfs] [recreate pdf task failed] [task={1}] [pdf_path={2}]' | 1296 | self.online_log.warn('{0} [zip_2_pdfs] [recreate pdf task failed] [task={1}] [pdf_path={2}]' | ... | ... |
-
Please register or sign in to post a comment