88f01673 by 冯轩

Merge branch 'feature/weixin-bs-2' into feature/uat-tmp

2 parents 0438240e 75c57aa6
......@@ -700,7 +700,7 @@ class UploadDocView(GenericView, DocHandler):
classify_1 = 12
self.running_log.info('[weixin bs process] [doc_id={0}]'.format(doc.id))
if classify_1 == 0 and (document_name.startswith("dzfp_")):
if classify_1 == 0 and (document_name.startswith("dzfp") or '电子发票' in document_name):
classify_1 = 29
self.running_log.info('[dzfp process] [doc_id={0}]'.format(doc.id))
......@@ -1284,7 +1284,7 @@ class DocView(DocGenericView, DocHandler):
classify_1 = 12
self.running_log.info('[weixin bs process] [doc_id={0}]'.format(doc.id))
if classify_1 == 0 and (document_name.startswith("dzfp_")):
if classify_1 == 0 and (document_name.startswith("dzfp") or '电子发票' in document_name):
classify_1 = 29
self.running_log.info('[dzfp 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!