Commit 5140e068 authored by Allvey's avatar Allvey

github提交

parent 46f1a731
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# @Time : 2021/6/22 12:46 # @Time : 2021/6/22 12:46
# @Author : Opfer # @Author : Opfer
# @Site : # @Site :
# @File : Tables.py # @File : tables.py
# @Software: PyCharm # @Software: PyCharm
from sqlalchemy import Column, create_engine from sqlalchemy import Column, create_engine
...@@ -192,8 +192,9 @@ class EquipmentPair(Base): ...@@ -192,8 +192,9 @@ class EquipmentPair(Base):
unload_area_id = Column(VARCHAR(36)) unload_area_id = Column(VARCHAR(36))
dispatch_id = Column(VARCHAR(36)) dispatch_id = Column(VARCHAR(36))
isdeleted = Column(BOOLEAN) isdeleted = Column(BOOLEAN)
createtime = Column(DateTime)
def __init__(self, id, truck_id, exactor_id, dump_id, load_area_id, unload_area_id, dispatch_id, isdeleted): def __init__(self, id, truck_id, exactor_id, dump_id, load_area_id, unload_area_id, dispatch_id, isdeleted, createtime):
self.id = id self.id = id
self.truck_id = truck_id self.truck_id = truck_id
self.exactor_id = exactor_id self.exactor_id = exactor_id
...@@ -202,6 +203,7 @@ class EquipmentPair(Base): ...@@ -202,6 +203,7 @@ class EquipmentPair(Base):
self.unload_area_id = unload_area_id self.unload_area_id = unload_area_id
self.dispatch_id = dispatch_id self.dispatch_id = dispatch_id
self.isdeleted = isdeleted self.isdeleted = isdeleted
self.createtime = createtime
class Dispatch(Base): class Dispatch(Base):
# 表的名字: # 表的名字:
......
This diff is collapsed.
This diff is collapsed.
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# @Time : 2021/6/15 10:35 # @Time : 2021/6/15 10:35
# @Author : Opfer # @Author : Opfer
# @Site : # @Site :
# @File : WatoDisp.py # @File : wato_dispatch.py
# @Software: PyCharm # @Software: PyCharm
from sqlalchemy import Column, create_engine from sqlalchemy import Column, create_engine
...@@ -18,7 +18,7 @@ import copy ...@@ -18,7 +18,7 @@ import copy
import json import json
import sched import sched
import time import time
from Tables import * from tables import *
from urllib.parse import quote from urllib.parse import quote
import logging import logging
import logging.handlers import logging.handlers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment