Эх сурвалжийг харах

Merge remote-tracking branch 'remotes/origin/dev'

chenshibin 4 жил өмнө
parent
commit
3a058feeed

+ 1 - 0
Controller/EquipmentManager.py

@@ -796,6 +796,7 @@ def deleteInterface(request):
             asy = threading.Thread(target=ModelService.delete_log,
             asy = threading.Thread(target=ModelService.delete_log,
                                    args=(CommonService.get_ip_address(request), userID, 'deleteV2', uid))
                                    args=(CommonService.get_ip_address(request), userID, 'deleteV2', uid))
             asy.start()
             asy.start()
+            Device_Info.objects.filter(UID=uid).update(vodPrimaryUserID='', vodPrimaryMaster='')
             if dv_qs[0].isShare:
             if dv_qs[0].isShare:
                 dv_qs.delete()
                 dv_qs.delete()
             else:
             else: