tanghongbin 5 năm trước cách đây
mục cha
commit
7e9a301993
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      Controller/FileController.py

+ 2 - 1
Controller/FileController.py

@@ -111,7 +111,8 @@ class UploadUIDFileView(View):
                                                                                                      uid_extra=uidModel.uid_extra,
                                                                                                      status=uidModel.status,
                                                                                                      area=uidModel.area))
-            bulk.append(uidModel)
+            uidModel.save()
+            # bulk.append(uidModel)
             try:
                 try:
                     if (count % 5000) == 0: