e0ef1178 by 冯轩

fix

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