Explorar el Código

增加comm_bch_batch的同步

晋江
OCEAN hace 1 mes
padre
commit
2b67c3951e
Se han modificado 2 ficheros con 14 adiciones y 6 borrados
  1. +0
    -6
      tcp_client/config.toml
  2. +14
    -0
      tcp_client/config_send.toml

+ 0
- 6
tcp_client/config.toml Ver fichero

@@ -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 Ver fichero

@@ -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"


Cargando…
Cancelar
Guardar