|
- [server]
- #host = "10.180.4.88"
- host = "127.0.0.1"
-
- port = 9090
-
- [client]
- # 定时任务配置
- interval_seconds = 3600 # 每隔多少秒执行一次
- max_retries = 3
- read_timeout_secs = 10
- write_timeout_secs = 10
- retry_delay_secs = 2
-
- [database]
- host = "10.180.4.100"
- port = 5432
- name = "Auseft_RL_Web"
- user = "postgres"
- password = "Auseft@2025qwer"
-
- # 要同步的表配置
-
- [[tables]]
- name = "erp_total_shipping_plan"
- query = "SELECT id, order_number, start_time, end_time, finish, ship_name, voyage, total_quantity::text as total_quantity, deviation_quantity::text as deviation_quantity, supplier_code, supplier_name, material_code, material_name, shipping_station_code, shipping_station_name, departure_port, departure_time, port_destination, berthing_time, supplier_id, material_id FROM public.erp_total_shipping_plan"
- incremental = false
- key_field = "UpdateTime"
|