优化涉及到的接口

This commit is contained in:
jinling.yang
2023-01-11 11:05:06 +08:00
50 changed files with 1351 additions and 161 deletions

View File

@@ -20,41 +20,6 @@ class Tray(models.Model):
def updateTrayState(self):
if self.workorder_id != False:
self.state = '占用'
else:
self.state = '空闲'