数据同步
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

2 个月前
1 个月前
12345678910111213141516171819202122232425262728
  1. [server]
  2. #host = "10.180.4.88"
  3. host = "127.0.0.1"
  4. port = 9090
  5. [client]
  6. # 定时任务配置
  7. interval_seconds = 3600 # 每隔多少秒执行一次
  8. max_retries = 3
  9. read_timeout_secs = 10
  10. write_timeout_secs = 10
  11. retry_delay_secs = 2
  12. [database]
  13. host = "10.180.4.100"
  14. port = 5432
  15. name = "Auseft_RL_Web"
  16. user = "postgres"
  17. password = "Auseft@2025qwer"
  18. # 要同步的表配置
  19. [[tables]]
  20. name = "erp_total_shipping_plan"
  21. 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"
  22. incremental = false
  23. key_field = "UpdateTime"