添加pqdif本地台账供java程序读取

This commit is contained in:
lnk
2026-07-24 11:37:50 +08:00
parent 57b4e65627
commit 54a23099a6
3 changed files with 156 additions and 0 deletions

View File

@@ -1446,6 +1446,11 @@ void process_ledger_update(trigger_update_xml_t *ledger_update_xml)
//////////////////////////////////////////////////////////////////////////////
if (ledger_update_xml->modify_update_num || ledger_update_xml->new_update_num || ledger_update_xml->delete_update_num){
create_ledger_log(ledger_update_xml); //写入文件
if (g_node_id == PQDIF_DATA_BASE_NODE_ID) {
if (pqdif_rebuild_config_from_current_ledger() != APR_SUCCESS) {
printf("[PQDIF][CONFIG] rebuild pqdif-config.xml failed after ledger update\n");
}
}
}
}