e0ef1178 by 冯轩

fix

1 parent e13dc92e
...@@ -683,7 +683,8 @@ class UploadDocView(GenericView, DocHandler): ...@@ -683,7 +683,8 @@ class UploadDocView(GenericView, DocHandler):
683 if keyword in document_name: 683 if keyword in document_name:
684 classify_1 = classify_1_tmp 684 classify_1 = classify_1_tmp
685 break 685 break
686 elif '微信支付交易明细证明' in document_name or '微信流水' in document_name: 686
687 if classify_1 == 0 and ('微信支付交易明细证明' in document_name or '微信流水' in document_name):
687 classify_1 = 12 688 classify_1 = 12
688 self.running_log.info('[weixin bs process] [doc_id={0}]'.format(doc.id)) 689 self.running_log.info('[weixin bs process] [doc_id={0}]'.format(doc.id))
689 690
...@@ -1241,7 +1242,8 @@ class DocView(DocGenericView, DocHandler): ...@@ -1241,7 +1242,8 @@ class DocView(DocGenericView, DocHandler):
1241 if keyword in document_name: 1242 if keyword in document_name:
1242 classify_1 = classify_1_tmp 1243 classify_1 = classify_1_tmp
1243 break 1244 break
1244 elif '微信支付交易明细证明' in document_name or '微信流水' in document_name: 1245
1246 if classify_1 == 0 and ('微信支付交易明细证明' in document_name or '微信流水' in document_name):
1245 classify_1 = 12 1247 classify_1 = 12
1246 self.running_log.info('[weixin bs process] [doc_id={0}]'.format(doc.id)) 1248 self.running_log.info('[weixin bs process] [doc_id={0}]'.format(doc.id))
1247 1249
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!