13a1b59c by 冯轩

Merge branch 'feature/weixin-bs-2'

2 parents 272692c8 75c57aa6
......@@ -697,8 +697,8 @@ 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_")):
classify_1 = 0
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))
......@@ -1260,8 +1260,8 @@ 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_")):
classify_1 = 0
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))
# tasks = ['{0}{1}{2}'.format(prefix, consts.SPLIT_STR, 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!