99 lines
4.5 KiB
Markdown
99 lines
4.5 KiB
Markdown
# schema_model_gap_report
|
|
|
|
Updated: 2026-03-22
|
|
|
|
## Scope
|
|
|
|
- DB source: information_schema.TABLES / COLUMNS / STATISTICS
|
|
- Model source: app/model/*.js (tableName option)
|
|
|
|
## Count
|
|
|
|
- Model files: 45
|
|
- Model with tableName: 43
|
|
- DB tables: 68
|
|
- modelOnly table count: 0
|
|
- dbOnly table count: 25
|
|
|
|
## modelOnly tables
|
|
|
|
- none
|
|
|
|
## dbOnly tables
|
|
|
|
- SequelizeMeta
|
|
- wms_account_login_log
|
|
- wms_api_log
|
|
- wms_embargo_policies
|
|
- wms_express
|
|
- wms_express_print_record
|
|
- wms_express_setting
|
|
- wms_order_delivery_100000
|
|
- wms_order_delivery_1000028
|
|
- wms_order_express
|
|
- wms_order_express_print_data
|
|
- wms_order_items_100000
|
|
- wms_order_items_1000028
|
|
- wms_order_operation
|
|
- wms_order_operation_log
|
|
- wms_order_picking
|
|
- wms_picking_strategy
|
|
- wms_platform_print_config
|
|
- wms_print_batch
|
|
- wms_print_log
|
|
- wms_printer_config
|
|
- wms_system_config
|
|
- wms_system_log
|
|
- wms_wave_batch
|
|
- wms_wave_operation_log
|
|
|
|
## Model mapping snapshot
|
|
|
|
| key | file | defineName | tableName |
|
|
| --- | --- | --- | --- |
|
|
| account | app/model/account.js | account | wms_account |
|
|
| account_platform_active | app/model/account_platform_active.js | account_platform_active | wms_account_platform_active |
|
|
| account_store_employee | app/model/account_store_employee.js | wms_account_store_employee | wms_account_store_employee |
|
|
| api_app | app/model/api_app.js | api_app | wms_api_app |
|
|
| employee_role | app/model/employee_role.js | employee_role | wms_employee_role |
|
|
| entry_items | app/model/entry_items.js | wms_entry_items | wms_entry_items |
|
|
| entry_order | app/model/entry_order.js | wms_entry_order | wms_entry_order |
|
|
| fast_where | app/model/fast_where.js | fast_where | wms_fast_where |
|
|
| file | app/model/file.js | wms_file | wms_file |
|
|
| file_reference | app/model/file_reference.js | wms_file_reference | wms_file_reference |
|
|
| i18n_key | app/model/i18n_key.js | wms_i18n_key | wms_i18n_keys |
|
|
| i18n_translation | app/model/i18n_translation.js | wms_i18n_translation | wms_i18n_translations |
|
|
| interface_type | app/model/interface_type.js | interface_type | wms_interface_type |
|
|
| location_space | app/model/location_space.js | wms_location_space | wms_location_space |
|
|
| location_type | app/model/location_type.js | location_type | wms_location_type |
|
|
| location_zone | app/model/location_zone.js | wms_location_zone | wms_location_zone |
|
|
| operation_log | app/model/operation_log.js | operation_log | wms_operation_log |
|
|
| order_delivery | app/model/order_delivery.js | order_delivery | wms_order_delivery |
|
|
| order_delivery_factory | app/model/order_delivery_factory.js | - | - |
|
|
| order_items | app/model/order_items.js | wms_order_items | wms_order_items |
|
|
| order_items_factory | app/model/order_items_factory.js | - | - |
|
|
| permission | app/model/permission.js | permission | wms_permission |
|
|
| platform | app/model/platform.js | platform | wms_platform |
|
|
| platform_setting | app/model/platform_setting.js | platform_setting | wms_platfrom_setting |
|
|
| print_computer | app/model/print_computer.js | print_computer | wms_print_computer |
|
|
| print_item | app/model/print_item.js | print_item | wms_print_items |
|
|
| print_record | app/model/print_record.js | PrintRecord | wms_print_record |
|
|
| print_station_express | app/model/print_station_express.js | print_station_express | wms_print_station_express |
|
|
| print_stations | app/model/print_stations.js | print_stations | wms_print_stations |
|
|
| print_template | app/model/print_template.js | print_template | wms_print_template |
|
|
| prohibited_type | app/model/prohibited_type.js | prohibitedType | wms_prohibited_type |
|
|
| qimen_app | app/model/qimen_app.js | qimen_app | wms_qimen_apps |
|
|
| qimen_log | app/model/qimen_log.js | qimen_log | wms_qimen_log |
|
|
| receiving | app/model/receiving.js | wms_receiving | wms_receiving |
|
|
| receiving_detail | app/model/receiving_detail.js | wms_receiving_detail | wms_receiving_detail |
|
|
| role | app/model/role.js | role | wms_role |
|
|
| role_permission | app/model/role_permission.js | role_permission | wms_role_permission |
|
|
| stock_barcode | app/model/stock_barcode.js | stock_barcodes | wms_stock_barcodes |
|
|
| stock_store | app/model/stock_store.js | stock_store | wms_stock_store |
|
|
| stock_unit | app/model/stock_unit.js | wms_stock_unit | wms_stock_unit |
|
|
| stock_warehouse | app/model/stock_warehouse.js | stock_warehouse | wms_stock_warehouse |
|
|
| storage | app/model/storage.js | wms_storage | wms_storage |
|
|
| store | app/model/store.js | store | wms_store |
|
|
| store_join | app/model/store_join.js | StoreJoin | wms_store_join |
|
|
| store_warehouse | app/model/store_warehouse.js | store_warehouse | wms_store_warehouse |
|