|
|
@@ -50,11 +50,11 @@ public class DCNRegistrationManager {
|
|
|
((OracleStatement) statement).setDatabaseChangeRegistration(dcnRegistration);
|
|
|
|
|
|
// 监测component、kind、brand、propertyvalue表变化
|
|
|
- statement.execute(
|
|
|
- "select cmp_uuid, cmp_code, cmp_kiid, cmp_brid from " + SearchConstants.COMPONENT_TABLE_NAME);
|
|
|
- statement.execute("select ki_name, ki_level, ki_isleaf from " + SearchConstants.KIND_TABLE_NAME);
|
|
|
- statement.execute("select br_uuid, br_name_cn, br_name_en from " + SearchConstants.BRAND_TABLE_NAME);
|
|
|
- statement.execute("select pv_value from " + SearchConstants.PROPERTYVALUE_TABLE_NAME);
|
|
|
+ statement.execute("select cmp_id, cmp_uuid, cmp_code, cmp_kiid, cmp_brid from "
|
|
|
+ + SearchConstants.COMPONENT_TABLE_NAME);
|
|
|
+ statement.execute("select ki_id, ki_name, ki_level, ki_isleaf from " + SearchConstants.KIND_TABLE_NAME);
|
|
|
+ statement.execute("select br_id, br_uuid, br_name_cn, br_name_en from " + SearchConstants.BRAND_TABLE_NAME);
|
|
|
+ statement.execute("select pv_id, pv_value from " + SearchConstants.PROPERTYVALUE_TABLE_NAME);
|
|
|
|
|
|
String[] tables = dcnRegistration.getTables();
|
|
|
for (String table : tables) {
|