open upload
Showing
1 changed file
with
1 additions
and
2 deletions
| ... | @@ -416,8 +416,7 @@ class Command(BaseCommand, LoggerMixin): | ... | @@ -416,8 +416,7 @@ class Command(BaseCommand, LoggerMixin): |
| 416 | else: | 416 | else: |
| 417 | try: | 417 | try: |
| 418 | # 5.上传至EDMS | 418 | # 5.上传至EDMS |
| 419 | # self.edms.upload(excel_path, doc, business_type) | 419 | self.edms.upload(excel_path, doc, business_type) |
| 420 | print('upload pass') | ||
| 421 | except Exception as e: | 420 | except Exception as e: |
| 422 | doc.status = DocStatus.UPLOAD_FAILED.value | 421 | doc.status = DocStatus.UPLOAD_FAILED.value |
| 423 | doc.save() | 422 | doc.save() | ... | ... |
-
Please register or sign in to post a comment