From 2b67c3951e4451ca062d454657282642e90ade88 Mon Sep 17 00:00:00 2001 From: OCEAN <1010331798@qq.com> Date: Sun, 18 May 2025 14:48:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0comm=5Fbch=5Fbatch=E7=9A=84?= =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tcp_client/config.toml | 6 ------ tcp_client/config_send.toml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/tcp_client/config.toml b/tcp_client/config.toml index 171dc5b..bdf787f 100644 --- a/tcp_client/config.toml +++ b/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" diff --git a/tcp_client/config_send.toml b/tcp_client/config_send.toml index 25b30f8..fafd70f 100644 --- a/tcp_client/config_send.toml +++ b/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"