sync oracle metadata and register new ERP scrap tables
This commit is contained in:
@@ -38,6 +38,9 @@ DB_CONFIG = {
|
||||
|
||||
# MES 表列表(預設清單)
|
||||
MES_TABLES = [
|
||||
'DW_MES_LOT_V',
|
||||
'DW_MES_EQUIPMENTSTATUS_WIP_V',
|
||||
'DW_MES_SPEC_WORKCENTER_V',
|
||||
'DW_MES_CONTAINER',
|
||||
'DW_MES_HOLDRELEASEHISTORY',
|
||||
'DW_MES_JOB',
|
||||
@@ -53,7 +56,10 @@ MES_TABLES = [
|
||||
'DW_MES_HM_LOTMOVEOUT',
|
||||
'DW_MES_JOBTXNHISTORY',
|
||||
'DW_MES_LOTMATERIALSHISTORY',
|
||||
'DW_MES_RESOURCE'
|
||||
'DW_MES_RESOURCE',
|
||||
'ERP_WIP_MOVETXN',
|
||||
'ERP_WIP_MOVETXN_DETAIL',
|
||||
'ERP_PJ_WIP_SCRAP_REASONS_EXCLUDE',
|
||||
]
|
||||
|
||||
def get_table_schema(cursor, table_name, owner=None):
|
||||
|
||||
Reference in New Issue
Block a user