瀏覽代碼

增加comm_bch_batch的同步

晋江
OCEAN 1 月之前
父節點
當前提交
2b67c3951e
共有 2 個文件被更改,包括 14 次插入6 次删除
  1. +0
    -6
      tcp_client/config.toml
  2. +14
    -0
      tcp_client/config_send.toml

+ 0
- 6
tcp_client/config.toml 查看文件

@@ -20,9 +20,3 @@ user = "postgres"
password = "Auseft@2025qwer"

# 要同步的表配置

[[tables]]
name = "comm_bch_delivering_sampling"
query = "SELECT id, tenant_id, supply_id, material_id, sample_type, operation_type, business_type, delivering_type, delivering_code, delivering_quantity, delivering_unit, delivering_weight::text as delivering_weight, delivering_weights, delivering_remark, deliverer, delivery_time, sampling, sampling_type, sampling_code, sampling_quantity, sampling_unit, sampling_weight::text as sampling_weight, sampling_weights, sampling_remark, sampler, sample_time, creator_id, creation_time, last_modifier_id, last_modification_reason, last_modification_time, deleted, deleter_id, deletion_reason, deletion_time FROM comm_bch_delivering_sampling "
incremental = false
key_field = "UpdateTime"

+ 14
- 0
tcp_client/config_send.toml 查看文件

@@ -21,6 +21,20 @@ password = "Auseft@2025qwer"

# 要同步的表配置

[[tables]]
name = "comm_bch_batch"
query = "SELECT id, tenant_id, supply_id, material_id, batch_record_id, sample_type, related_code, batching_start_time, batching_end_time, batching_start_ticket, batching_end_ticket, batching_quantity, batching_weight::text, batching_code, batching_code_creator, batching_code_creation_time, preparation_code, preparation_code_creator, preparation_code_creation_time, assay_code, assay_code_creator, assay_code_creation_time, creator_id, creation_time, last_modifier_id, last_modification_reason, last_modification_time, deleted, deleter_id, deletion_reason, deletion_time, source_type FROM comm_bch_batch"
incremental = false
key_field = "UpdateTime"



[[tables]]
name = "comm_bch_delivering_sampling"
query = "SELECT id, tenant_id, supply_id, material_id, sample_type, operation_type, business_type, delivering_type, delivering_code, delivering_quantity, delivering_unit, delivering_weight::text as delivering_weight, delivering_weights, delivering_remark, deliverer, delivery_time, sampling, sampling_type, sampling_code, sampling_quantity, sampling_unit, sampling_weight::text as sampling_weight, sampling_weights, sampling_remark, sampler, sample_time, creator_id, creation_time, last_modifier_id, last_modification_reason, last_modification_time, deleted, deleter_id, deletion_reason, deletion_time FROM comm_bch_delivering_sampling "
incremental = false
key_field = "UpdateTime"


[[tables]]
name = "comm_sp_delivering_sampling"


Loading…
取消
儲存