Commit 5140e068 authored by Allvey's avatar Allvey

github提交

parent 46f1a731
......@@ -3,7 +3,7 @@
# @Time : 2021/6/22 12:46
# @Author : Opfer
# @Site :
# @File : Tables.py
# @File : tables.py
# @Software: PyCharm
from sqlalchemy import Column, create_engine
......@@ -192,8 +192,9 @@ class EquipmentPair(Base):
unload_area_id = Column(VARCHAR(36))
dispatch_id = Column(VARCHAR(36))
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.truck_id = truck_id
self.exactor_id = exactor_id
......@@ -202,6 +203,7 @@ class EquipmentPair(Base):
self.unload_area_id = unload_area_id
self.dispatch_id = dispatch_id
self.isdeleted = isdeleted
self.createtime = createtime
class Dispatch(Base):
# 表的名字:
......
This diff is collapsed.
This diff is collapsed.
......@@ -3,7 +3,7 @@
# @Time : 2021/6/15 10:35
# @Author : Opfer
# @Site :
# @File : WatoDisp.py
# @File : wato_dispatch.py
# @Software: PyCharm
from sqlalchemy import Column, create_engine
......@@ -18,7 +18,7 @@ import copy
import json
import sched
import time
from Tables import *
from tables import *
from urllib.parse import quote
import logging
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