Commit 4a9abfa4 authored by neo's avatar neo

[dev] used schema on table gen entity

parent 449aefa6
......@@ -39,28 +39,28 @@
<javaClientGenerator type="XMLMAPPER" targetPackage="pwc.taxtech.atms.dao" targetProject="../../src/main/java">
<property name="rootInterface" value="pwc.taxtech.atms.MyMapper"/>
</javaClientGenerator>
<table tableName="ACCOUNT_MAPPING" domainObjectName="AccountMapping">
<table tableName="ACCOUNT_MAPPING" schema="tax_admin" domainObjectName="AccountMapping">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="ACCOUNT_MAPPING_MANUAL" domainObjectName="AccountMappingManual">
<table tableName="ACCOUNT_MAPPING_MANUAL" schema="tax_admin" domainObjectName="AccountMappingManual">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="AREA" domainObjectName="Area">
<table tableName="AREA" schema="tax_admin" domainObjectName="Area">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
</table>
<table tableName="AREA_REGION" domainObjectName="AreaRegion">
<table tableName="AREA_REGION" schema="tax_admin" domainObjectName="AreaRegion">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="ASSET_DETAIL_GROUP" domainObjectName="AssetDetailGroup">
<table tableName="ASSET_DETAIL_GROUP" schema="tax_admin" domainObjectName="AssetDetailGroup">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ASSET_GROUP_TYPE" javaType="java.lang.Integer" />
......@@ -68,23 +68,23 @@
<columnOverride column="DETAIL_GROUP_TYPE" javaType="java.lang.Integer" />
</table>
<table tableName="ASSET_GROUP" domainObjectName="AssetGroup">
<table tableName="ASSET_GROUP" schema="tax_admin" domainObjectName="AssetGroup">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="BUSINESS_UNIT" domainObjectName="BusinessUnit">
<table tableName="BUSINESS_UNIT" schema="tax_admin" domainObjectName="BusinessUnit">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
</table>
<table tableName="CACHE" domainObjectName="Cache">
<table tableName="CACHE" schema="tax_admin" domainObjectName="Cache">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="CELL_TEMPLATE" domainObjectName="CellTemplate">
<table tableName="CELL_TEMPLATE" schema="tax_admin" domainObjectName="CellTemplate">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -96,7 +96,7 @@
<columnOverride column="IS_READ_ONLY" javaType="java.lang.Boolean" />
</table>
<table tableName="CELL_TEMPLATE_CONFIG" domainObjectName="CellTemplateConfig">
<table tableName="CELL_TEMPLATE_CONFIG" schema="tax_admin" domainObjectName="CellTemplateConfig">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -107,19 +107,19 @@
<columnOverride column="INVOICE_AMOUNT_TYPE" javaType="java.lang.Integer" />
</table>
<table tableName="CUSTOMER" domainObjectName="Customer">
<table tableName="CUSTOMER" schema="tax_admin" domainObjectName="Customer">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="DICTIONARY" domainObjectName="Dictionary">
<table tableName="DICTIONARY" schema="tax_admin" domainObjectName="Dictionary">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ORDER_INDEX" javaType="java.lang.Integer" />
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
</table>
<table tableName="DIMENSION" domainObjectName="Dimension">
<table tableName="DIMENSION" schema="tax_admin" domainObjectName="Dimension">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ORDER_INDEX" javaType="java.lang.Boolean" />
......@@ -128,18 +128,18 @@
<columnOverride column="IS_SYSTEM_DIMENSION" javaType="java.lang.Boolean" />
</table>
<table tableName="DIMENSION_VALUE" domainObjectName="DimensionValue">
<table tableName="DIMENSION_VALUE" schema="tax_admin" domainObjectName="DimensionValue">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
</table>
<table tableName="DIMENSION_VALUE_ORG" domainObjectName="DimensionValueOrg">
<table tableName="DIMENSION_VALUE_ORG" schema="tax_admin" domainObjectName="DimensionValueOrg">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="ENTERPRISE_ACCOUNT" domainObjectName="EnterpriseAccount">
<table tableName="ENTERPRISE_ACCOUNT" schema="tax_admin" domainObjectName="EnterpriseAccount">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ACCT_PROP" javaType="java.lang.Integer" />
......@@ -151,18 +151,18 @@
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
</table>
<table tableName="ENTERPRISE_ACCOUNT_SET" domainObjectName="EnterpriseAccountSet">
<table tableName="ENTERPRISE_ACCOUNT_SET" schema="tax_admin" domainObjectName="EnterpriseAccountSet">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
</table>
<table tableName="ENTERPRISE_ACCOUNT_SET_ORG" domainObjectName="EnterpriseAccountSetOrg">
<table tableName="ENTERPRISE_ACCOUNT_SET_ORG" schema="tax_admin" domainObjectName="EnterpriseAccountSetOrg">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="FORMULA_CONFIG" domainObjectName="FormulaConfig">
<table tableName="FORMULA_CONFIG" schema="tax_admin" domainObjectName="FormulaConfig">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="CALCULATE_STATUS" javaType="java.lang.Integer" />
......@@ -170,32 +170,32 @@
<columnOverride column="REQUIRED_PARAM_NUM" javaType="java.lang.Integer" />
</table>
<table tableName="FORMULA_PARAM_CONFIG" domainObjectName="FormulaParamConfig">
<table tableName="FORMULA_PARAM_CONFIG" schema="tax_admin" domainObjectName="FormulaParamConfig">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PARAM_TYPE" javaType="java.lang.Integer" />
<columnOverride column="PARAM_DATA_TYPE" javaType="java.lang.Integer" />
</table>
<table tableName="FORMULA_PARAM_MAPPING" domainObjectName="FormulaParamMapping">
<table tableName="FORMULA_PARAM_MAPPING" schema="tax_admin" domainObjectName="FormulaParamMapping">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PARAM_INDEX" javaType="java.lang.Integer" />
</table>
<table tableName="FORMULA_PARAM_OPTION" domainObjectName="FormulaParamOption">
<table tableName="FORMULA_PARAM_OPTION" schema="tax_admin" domainObjectName="FormulaParamOption">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="OPTION_INDEX" javaType="java.lang.Integer" />
</table>
<table tableName="INDUSTRY" domainObjectName="Industry">
<table tableName="INDUSTRY" schema="tax_admin" domainObjectName="Industry">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
</table>
<table tableName="KEY_VALUE_CONFIG" domainObjectName="KeyValueConfig">
<table tableName="KEY_VALUE_CONFIG" schema="tax_admin" domainObjectName="KeyValueConfig">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="KEY_VALUE_TYPE" javaType="java.lang.Integer" />
......@@ -204,14 +204,14 @@
<columnOverride column="RESULT_TYPE" javaType="java.lang.Integer" />
</table>
<table tableName="KEY_VALUE_REFERENCE" domainObjectName="KeyValueReference">
<table tableName="KEY_VALUE_REFERENCE" schema="tax_admin" domainObjectName="KeyValueReference">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="SCOPE" javaType="java.lang.Integer" />
<columnOverride column="CELL_TEMPLATE_ID" javaType="java.lang.Long" />
</table>
<table tableName="MENU" domainObjectName="Menu">
<table tableName="MENU" schema="tax_admin" domainObjectName="Menu">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ORDER_INDEX" javaType="java.lang.Integer" />
......@@ -219,7 +219,7 @@
<columnOverride column="IS_VISIBLE" javaType="java.lang.Boolean" />
</table>
<table tableName="MODEL" domainObjectName="Model">
<table tableName="MODEL" schema="tax_admin" domainObjectName="Model">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="RULE_TYPE" javaType="java.lang.Integer" />
......@@ -229,69 +229,69 @@
<columnOverride column="IS_FILTER" javaType="java.lang.Integer" />
</table>
<table tableName="MODEL_CATEGORY" domainObjectName="ModelCategory">
<table tableName="MODEL_CATEGORY" schema="tax_admin" domainObjectName="ModelCategory">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="SORT" javaType="java.lang.Integer" />
<columnOverride column="QUANTITY" javaType="java.lang.Integer" />
</table>
<table tableName="MODEL_CONFIG" domainObjectName="ModelConfig">
<table tableName="MODEL_CONFIG" schema="tax_admin" domainObjectName="ModelConfig">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="MODEL_SERVICE_CONFIG" domainObjectName="ModelServiceConfig">
<table tableName="MODEL_SERVICE_CONFIG" schema="tax_admin" domainObjectName="ModelServiceConfig">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="OPERATION_LOG_BASIC_DATA" domainObjectName="OperationLogBasicData">
<table tableName="OPERATION_LOG_BASIC_DATA" schema="tax_admin" domainObjectName="OperationLogBasicData">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="OPERATION_LOG_ENTER_PRISE" domainObjectName="OperationLogEnterPrise">
<table tableName="OPERATION_LOG_ENTER_PRISE" schema="tax_admin" domainObjectName="OperationLogEnterPrise">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="OPERATION_LOG_ORGANIZATION" domainObjectName="OperationLogOrganization">
<table tableName="OPERATION_LOG_ORGANIZATION" schema="tax_admin" domainObjectName="OperationLogOrganization">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="OPERATION_LOG_ROLE" domainObjectName="OperationLogRole">
<table tableName="OPERATION_LOG_ROLE" schema="tax_admin" domainObjectName="OperationLogRole">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="OPERATION_LOG_USER" domainObjectName="OperationLogUser">
<table tableName="OPERATION_LOG_USER" schema="tax_admin" domainObjectName="OperationLogUser">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="ORGANIZATION" domainObjectName="Organization">
<table tableName="ORGANIZATION" schema="tax_admin" domainObjectName="Organization">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
<columnOverride column="P_LEVEL" javaType="java.lang.Integer" />
</table>
<table tableName="ORG_SERVICE_TEMPLATE_GROUP" domainObjectName="OrganizationServiceTemplateGroup">
<table tableName="ORG_SERVICE_TEMPLATE_GROUP" schema="tax_admin" domainObjectName="OrganizationServiceTemplateGroup">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
<columnOverride column="TEMPLATE_GROUP_ID" javaType="java.lang.Long" />
</table>
<table tableName="ORGANIZATION_STRUCTURE" domainObjectName="OrganizationStructure">
<table tableName="ORGANIZATION_STRUCTURE" schema="tax_admin" domainObjectName="OrganizationStructure">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
</table>
<table tableName="PERIOD_INFO" domainObjectName="PeriodInfo">
<table tableName="PERIOD_INFO" schema="tax_admin" domainObjectName="PeriodInfo">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
......@@ -300,14 +300,14 @@
<columnOverride column="SERVICE_TYPE" javaType="java.lang.Integer" />
</table>
<table tableName="PERMISSION" domainObjectName="Permission">
<table tableName="PERMISSION" schema="tax_admin" domainObjectName="Permission">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
<columnOverride column="P_LEVEL" javaType="java.lang.Short" />
</table>
<table tableName="PROJECT" domainObjectName="Project">
<table tableName="PROJECT" schema="tax_admin" domainObjectName="Project">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="YEAR" javaType="java.lang.Integer" />
......@@ -317,26 +317,26 @@
<columnOverride column="END_PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="PROJECT_CLIENT" domainObjectName="ProjectClient">
<table tableName="PROJECT_CLIENT" schema="tax_admin" domainObjectName="ProjectClient">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
</table>
<table tableName="PROJECT_SERVICE_TYPE" domainObjectName="ProjectServiceType">
<table tableName="PROJECT_SERVICE_TYPE" schema="tax_admin" domainObjectName="ProjectServiceType">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="TEMPLATE_GROUP_ID" javaType="java.lang.Long" />
</table>
<table tableName="PROJECT_STATUS_MANAGE" domainObjectName="ProjectStatusManage">
<table tableName="PROJECT_STATUS_MANAGE" schema="tax_admin" domainObjectName="ProjectStatusManage">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD_ID" javaType="java.lang.Integer" />
<columnOverride column="STATUS" javaType="java.lang.Integer" />
</table>
<table tableName="REGION" domainObjectName="Region">
<table tableName="REGION" schema="tax_admin" domainObjectName="Region">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="LEVEL_TYPE" javaType="java.lang.Integer" />
......@@ -345,29 +345,29 @@
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
</table>
<table tableName="ROLE" domainObjectName="Role">
<table tableName="ROLE" schema="tax_admin" domainObjectName="Role">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="ROLE_CATEGORY" domainObjectName="RoleCategory">
<table tableName="ROLE_CATEGORY" schema="tax_admin" domainObjectName="RoleCategory">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
</table>
<table tableName="ROLE_PERMISSION" domainObjectName="RolePermission">
<table tableName="ROLE_PERMISSION" schema="tax_admin" domainObjectName="RolePermission">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="SERVICE_TYPE" domainObjectName="ServiceType">
<table tableName="SERVICE_TYPE" schema="tax_admin" domainObjectName="ServiceType">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
</table>
<table tableName="STANDARD_ACCOUNT" domainObjectName="StandardAccount">
<table tableName="STANDARD_ACCOUNT" schema="tax_admin" domainObjectName="StandardAccount">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ACCT_PROP" javaType="java.lang.Integer" />
......@@ -379,19 +379,19 @@
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
</table>
<table tableName="STATISTIC_ATTRIBUTE" domainObjectName="StatisticAttribute">
<table tableName="STATISTIC_ATTRIBUTE" schema="tax_admin" domainObjectName="StatisticAttribute">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
</table>
<table tableName="STATISTIC_ATTRIBUTE_DIMENSION" domainObjectName="StatisticAttributeDimension">
<table tableName="STATISTIC_ATTRIBUTE_DIMENSION" schema="tax_admin" domainObjectName="StatisticAttributeDimension">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ORDER_INDEX" javaType="java.lang.Boolean" />
</table>
<table tableName="STOCK" domainObjectName="Stock">
<table tableName="STOCK" schema="tax_admin" domainObjectName="Stock">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="STOCK_AMOUNT" javaType="java.math.BigDecimal" />
......@@ -399,7 +399,7 @@
<columnOverride column="CAPITAL_PERCENT" javaType="java.math.BigDecimal" />
</table>
<table tableName="TAX_PAYER_REPORT_RULE" domainObjectName="TaxPayerReportRule">
<table tableName="TAX_PAYER_REPORT_RULE" schema="tax_admin" domainObjectName="TaxPayerReportRule">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -408,7 +408,7 @@
<columnOverride column="TEMPLATE_GROUP_ID" javaType="java.lang.Long" />
</table>
<table tableName="TAX_RULE_SETTING" domainObjectName="TaxRuleSetting">
<table tableName="TAX_RULE_SETTING" schema="tax_admin" domainObjectName="TaxRuleSetting">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -416,14 +416,14 @@
<columnOverride column="TAX_RATE" javaType="java.math.BigDecimal" />
</table>
<table tableName="TAX_RULE_SETTING_ORGANIZATION" domainObjectName="TaxRuleSettingOrganization">
<table tableName="TAX_RULE_SETTING_ORGANIZATION" schema="tax_admin" domainObjectName="TaxRuleSettingOrganization">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
<columnOverride column="TAX_SETTING_ID" javaType="java.lang.Long" />
</table>
<table tableName="TEMPLATE" domainObjectName="Template">
<table tableName="TEMPLATE" schema="tax_admin" domainObjectName="Template">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -434,7 +434,7 @@
<columnOverride column="IS_ACTIVE_ASSOCIATION" javaType="java.lang.Integer" />
</table>
<table tableName="TEMPLATE_FORMULA" domainObjectName="TemplateFormula">
<table tableName="TEMPLATE_FORMULA" schema="tax_admin" domainObjectName="TemplateFormula">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ROW_INDEX" javaType="java.lang.Integer" />
......@@ -443,7 +443,7 @@
<columnOverride column="IS_MANUAL_CHANGE" javaType="java.lang.Boolean" />
</table>
<table tableName="TEMPLATE_GROUP" domainObjectName="TemplateGroup">
<table tableName="TEMPLATE_GROUP" schema="tax_admin" domainObjectName="TemplateGroup">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -453,7 +453,7 @@
<columnOverride column="IS_SYSTEM_TYPE" javaType="java.lang.Integer" />
</table>
<table tableName="USER" domainObjectName="User">
<table tableName="USER" schema="tax_admin" domainObjectName="User">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="LOGIN_TYPE" javaType="java.lang.Integer" />
......@@ -463,42 +463,42 @@
<columnOverride column="IS_SUPER_ADMIN" javaType="java.lang.Boolean" />
</table>
<table tableName="USER_DIMENSION_VALUE" domainObjectName="UserDimensionValue">
<table tableName="USER_DIMENSION_VALUE" schema="tax_admin" domainObjectName="UserDimensionValue">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IS_ACCESSIBLE" javaType="java.lang.Boolean" />
<columnOverride column="HAS_ORIGINAL_ROLE" javaType="java.lang.Boolean" />
</table>
<table tableName="USER_DIMENSION_VALUE_ORG" domainObjectName="UserDimensionValueOrg">
<table tableName="USER_DIMENSION_VALUE_ORG" schema="tax_admin" domainObjectName="UserDimensionValueOrg">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IS_HERITABLE" javaType="java.lang.Boolean" />
</table>
<table tableName="USER_DIMENSION_VALUE_ROLE" domainObjectName="UserDimensionValueRole">
<table tableName="USER_DIMENSION_VALUE_ROLE" schema="tax_admin" domainObjectName="UserDimensionValueRole">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="USER_HISTORICAL_PASSWORD" domainObjectName="UserHistoricalPassword">
<table tableName="USER_HISTORICAL_PASSWORD" schema="tax_admin" domainObjectName="UserHistoricalPassword">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="USER_ORGANIZATION" domainObjectName="UserOrganization">
<table tableName="USER_ORGANIZATION" schema="tax_admin" domainObjectName="UserOrganization">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IS_ACCESSIBLE" javaType="java.lang.Boolean" />
<columnOverride column="HAS_ORIGINAL_ROLE" javaType="java.lang.Boolean" />
</table>
<table tableName="USER_ORGANIZATION_ROLE" domainObjectName="UserOrganizationRole">
<table tableName="USER_ORGANIZATION_ROLE" schema="tax_admin" domainObjectName="UserOrganizationRole">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="USER_ROLE" domainObjectName="UserRole">
<table tableName="USER_ROLE" schema="tax_admin" domainObjectName="UserRole">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
......
......@@ -39,7 +39,7 @@
<javaClientGenerator type="XMLMAPPER" targetPackage="pwc.taxtech.atms.vat.dao" targetProject="../../src/main/java">
<property name="rootInterface" value="pwc.taxtech.atms.MyVatMapper"/>
</javaClientGenerator>
<table tableName="ACCOUNT" domainObjectName="Account">
<table tableName="ACCOUNT" schema="tax_project" domainObjectName="Account">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ACCT_PROP" javaType="java.lang.Integer" />
......@@ -51,7 +51,7 @@
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
</table>
<table tableName="ACCOUNT_REMAP" domainObjectName="AccountRemap">
<table tableName="ACCOUNT_REMAP" schema="tax_project" domainObjectName="AccountRemap">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
......@@ -60,7 +60,7 @@
<columnOverride column="RE_MAPP_TYPE_ID" javaType="java.lang.Integer" />
</table>
<table tableName="ACCOUNT_REMAP_SUM" domainObjectName="AccountRemapSum">
<table tableName="ACCOUNT_REMAP_SUM" schema="tax_project" domainObjectName="AccountRemapSum">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
......@@ -69,13 +69,13 @@
<columnOverride column="REMAP_CREDIT" javaType="java.math.BigDecimal" />
</table>
<table tableName="ASSET_GROUP_RESULT" domainObjectName="AssetGroupResult">
<table tableName="ASSET_GROUP_RESULT" schema="tax_project" domainObjectName="AssetGroupResult">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="TAX_DEPRECIATION_PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="ASSETS_LIST" domainObjectName="AssetsList">
<table tableName="ASSETS_LIST" schema="tax_project" domainObjectName="AssetsList">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="DEPRECIATION_PERIOD" javaType="java.lang.Integer" />
......@@ -103,7 +103,7 @@
<columnOverride column="ASSET_TYPE" javaType="java.lang.Integer" />
</table>
<table tableName="BALANCE" domainObjectName="Balance">
<table tableName="BALANCE" schema="tax_project" domainObjectName="Balance">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD_ID" javaType="java.lang.Integer" />
......@@ -130,7 +130,7 @@
<columnOverride column="IS_DUMMY" javaType="java.lang.Integer" />
</table>
<table tableName="BALANCE_STD" domainObjectName="BalanceStd">
<table tableName="BALANCE_STD" schema="tax_project" domainObjectName="BalanceStd">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD_ID" javaType="java.lang.Integer" />
......@@ -155,7 +155,7 @@
<columnOverride column="SUB_PROP" javaType="java.lang.Integer" />
</table>
<table tableName="BALANCE_STD_MANUAL" domainObjectName="BalanceStdManual">
<table tableName="BALANCE_STD_MANUAL" schema="tax_project" domainObjectName="BalanceStdManual">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD_ID" javaType="java.lang.Long" />
......@@ -180,14 +180,14 @@
<columnOverride column="YEAR_CREDIT_NET" javaType="java.math.BigDecimal" />
</table>
<table tableName="CELL_COMMENT" domainObjectName="CellComment">
<table tableName="CELL_COMMENT" schema="tax_project" domainObjectName="CellComment">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
<columnOverride column="CELL_DATA_ID" javaType="java.lang.Long" />
</table>
<table tableName="CELL_DATA" domainObjectName="CellData">
<table tableName="CELL_DATA" schema="tax_project" domainObjectName="CellData">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -195,7 +195,7 @@
<columnOverride column="CELL_TEMPLATE_ID" javaType="java.lang.Long" />
</table>
<table tableName="CELL_DATA_SOURCE" domainObjectName="CellDataSource">
<table tableName="CELL_DATA_SOURCE" schema="tax_project" domainObjectName="CellDataSource">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -205,7 +205,7 @@
<columnOverride column="OPERATION_TYPE" javaType="java.lang.Integer" />
</table>
<table tableName="COMPANY_BALANCE" domainObjectName="CompanyBalance">
<table tableName="COMPANY_BALANCE" schema="tax_project" domainObjectName="CompanyBalance">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD_ID" javaType="java.lang.Integer" />
......@@ -220,7 +220,7 @@
<columnOverride column="MONTH_ID" javaType="java.lang.Integer" />
</table>
<table tableName="CUST_BALANCE" domainObjectName="CustBalance">
<table tableName="CUST_BALANCE" schema="tax_project" domainObjectName="CustBalance">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD_ID" javaType="java.lang.Long" />
......@@ -238,7 +238,7 @@
<columnOverride column="IS_DUMMY" javaType="java.lang.Integer" />
</table>
<table tableName="CUST_BALANCE_STD" domainObjectName="CustBalanceStd">
<table tableName="CUST_BALANCE_STD" schema="tax_project" domainObjectName="CustBalanceStd">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD_ID" javaType="java.lang.Integer" />
......@@ -254,7 +254,7 @@
<columnOverride column="END_CREDIT_BAL" javaType="java.math.BigDecimal" />
</table>
<table tableName="CUST_BALANCE_STD_MANUAL" domainObjectName="CustBalanceStdManual">
<table tableName="CUST_BALANCE_STD_MANUAL" schema="tax_project" domainObjectName="CustBalanceStdManual">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD_ID" javaType="java.lang.Long" />
......@@ -270,7 +270,7 @@
<columnOverride column="END_CREDIT_BAL" javaType="java.math.BigDecimal" />
</table>
<table tableName="CUSTOMS_INVOICE" domainObjectName="CustomsInvoice">
<table tableName="CUSTOMS_INVOICE" schema="tax_project" domainObjectName="CustomsInvoice">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="INVOICE_TAX_AMOUNT" javaType="java.math.BigDecimal" />
......@@ -281,7 +281,7 @@
<columnOverride column="ACCNTED_PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="DATA_SOURCE" domainObjectName="DataSource">
<table tableName="DATA_SOURCE" schema="tax_project" domainObjectName="DataSource">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -293,7 +293,7 @@
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="DATA_SOURCE_DETAIL" domainObjectName="DataSourceDetail">
<table tableName="DATA_SOURCE_DETAIL" schema="tax_project" domainObjectName="DataSourceDetail">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -301,7 +301,20 @@
<columnOverride column="DATA_SOURCE_TYPE" javaType="java.lang.Integer" />
</table>
<table tableName="ENTRIES_CHECK_DETAIL_RESULT" domainObjectName="EntriesCheckDetailResult">
<table tableName="ENTERPRISE_ACCOUNT" schema="tax_project" domainObjectName="EnterpriseAccount">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ACCT_PROP" javaType="java.lang.Integer" />
<columnOverride column="SUB_PROP" javaType="java.lang.Integer" />
<columnOverride column="ACCT_LEVEL" javaType="java.lang.Integer" />
<columnOverride column="DIRECTION" javaType="java.lang.Integer" />
<columnOverride column="IS_LEAF" javaType="java.lang.Boolean" />
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
<columnOverride column="IS_DUMMY" javaType="java.lang.Integer" />
<columnOverride column="IS_IN_VOUCHER" javaType="java.lang.Integer" />
</table>
<table tableName="ENTRIES_CHECK_DETAIL_RESULT" schema="tax_project" domainObjectName="EntriesCheckDetailResult">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IS_DOUBT" javaType="java.lang.Integer" />
......@@ -315,7 +328,7 @@
<columnOverride column="IS_RELEVANT_AMT" javaType="java.lang.Integer" />
</table>
<table tableName="ENTRIES_CHECK_RESULT" domainObjectName="EntriesCheckResult">
<table tableName="ENTRIES_CHECK_RESULT" schema="tax_project" domainObjectName="EntriesCheckResult">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="VOUCHER_NUM" javaType="java.lang.Integer" />
......@@ -341,7 +354,7 @@
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="FORMULA_CACHE" domainObjectName="FormulaCache">
<table tableName="FORMULA_CACHE" schema="tax_project" domainObjectName="FormulaCache">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
......@@ -352,25 +365,25 @@
<columnOverride column="RESULT_TYPE" javaType="java.lang.Integer" />
</table>
<table tableName="null" domainObjectName="FormulaCachePK implements Serializable">
<table tableName="null" schema="null" domainObjectName="FormulaCachePK implements Serializable">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="GOODS_MAPPING" domainObjectName="GoodsMapping">
<table tableName="GOODS_MAPPING" schema="tax_project" domainObjectName="GoodsMapping">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="IMPORT_FILE" domainObjectName="ImportFile">
<table tableName="IMPORT_FILE" schema="tax_project" domainObjectName="ImportFile">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD_ID" javaType="java.lang.Integer" />
<columnOverride column="FILE_IMPORT_TYPE" javaType="java.lang.Integer" />
</table>
<table tableName="INDEX_ANALYSIS_DETAIL_RESULT" domainObjectName="IndexAnalysisDetailResult">
<table tableName="INDEX_ANALYSIS_DETAIL_RESULT" schema="tax_project" domainObjectName="IndexAnalysisDetailResult">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="YEAR" javaType="java.lang.Integer" />
......@@ -384,7 +397,7 @@
<columnOverride column="IS_YEAR_EXP" javaType="java.lang.Integer" />
</table>
<table tableName="INDEX_ANALYSIS_RESULT" domainObjectName="IndexAnalysisResult">
<table tableName="INDEX_ANALYSIS_RESULT" schema="tax_project" domainObjectName="IndexAnalysisResult">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="TYPE" javaType="java.lang.Integer" />
......@@ -392,7 +405,7 @@
<columnOverride column="IS_REPORT" javaType="java.lang.Integer" />
</table>
<table tableName="INPUT_VAT_INVOICE" domainObjectName="InputVatInvoice">
<table tableName="INPUT_VAT_INVOICE" schema="tax_project" domainObjectName="InputVatInvoice">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD_ID" javaType="java.lang.Integer" />
......@@ -404,7 +417,7 @@
<columnOverride column="ACCNTED_PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="INPUT_VAT_INVOICE_ITEM" domainObjectName="InputVatInvoiceItem">
<table tableName="INPUT_VAT_INVOICE_ITEM" schema="tax_project" domainObjectName="InputVatInvoiceItem">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD_ID" javaType="java.lang.Integer" />
......@@ -413,26 +426,26 @@
<columnOverride column="TAX_RATE" javaType="java.math.BigDecimal" />
</table>
<table tableName="INVOICE_MAPPING" domainObjectName="InvoiceMapping">
<table tableName="INVOICE_MAPPING" schema="tax_project" domainObjectName="InvoiceMapping">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="MODEL_BACK_FILL_AMOUNT" domainObjectName="ModelBackFillAmount">
<table tableName="MODEL_BACK_FILL_AMOUNT" schema="tax_project" domainObjectName="ModelBackFillAmount">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="AMOUNT" javaType="java.math.BigDecimal" />
</table>
<table tableName="MODEL_CATEGORY_RESULT" domainObjectName="ModelCategoryResult">
<table tableName="MODEL_CATEGORY_RESULT" schema="tax_project" domainObjectName="ModelCategoryResult">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="SORT" javaType="java.lang.Integer" />
<columnOverride column="QUANTITY" javaType="java.lang.Integer" />
</table>
<table tableName="MODEL_DETAIL_LOG" domainObjectName="ModelDetailLog">
<table tableName="MODEL_DETAIL_LOG" schema="tax_project" domainObjectName="ModelDetailLog">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="FEATURE" javaType="java.lang.Integer" />
......@@ -440,7 +453,7 @@
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="MODEL_LOG" domainObjectName="ModelLog">
<table tableName="MODEL_LOG" schema="tax_project" domainObjectName="ModelLog">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="RUN_NUMBER" javaType="java.lang.Integer" />
......@@ -448,7 +461,7 @@
<columnOverride column="FAILURE_NUMBER" javaType="java.lang.Integer" />
</table>
<table tableName="MODIFIED_REPORT_CELL" domainObjectName="ModifiedReportCell">
<table tableName="MODIFIED_REPORT_CELL" schema="tax_project" domainObjectName="ModifiedReportCell">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -458,7 +471,16 @@
<columnOverride column="RELATED_CELL_DATA_ID" javaType="java.lang.Long" />
</table>
<table tableName="OUTPUT_VAT_INVOICE" domainObjectName="OutputVatInvoice">
<table tableName="OPERATION_LOG" schema="tax_project" domainObjectName="OperationLog">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="MODULE_ID" javaType="java.lang.Integer" />
<columnOverride column="OPERATION_TYPE" javaType="java.lang.Integer" />
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
<columnOverride column="SERVICE_TYPE" javaType="java.lang.Integer" />
</table>
<table tableName="OUTPUT_VAT_INVOICE" schema="tax_project" domainObjectName="OutputVatInvoice">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="INVOICE_TYPE" javaType="java.lang.Integer" />
......@@ -469,7 +491,7 @@
<columnOverride column="ACCNTED_PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="OUTPUT_VAT_INVOICE_ITEM" domainObjectName="OutputVatInvoiceItem">
<table tableName="OUTPUT_VAT_INVOICE_ITEM" schema="tax_project" domainObjectName="OutputVatInvoiceItem">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="QUANTITY" javaType="java.lang.Integer" />
......@@ -481,7 +503,7 @@
<columnOverride column="PERIOD_ID" javaType="java.lang.Integer" />
</table>
<table tableName="PERIOD_CELL_REFERENCE" domainObjectName="PeriodCellReference">
<table tableName="PERIOD_CELL_REFERENCE" schema="tax_project" domainObjectName="PeriodCellReference">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
......@@ -489,13 +511,13 @@
<columnOverride column="IS_VALIDATION" javaType="java.lang.Integer" />
</table>
<table tableName="null" domainObjectName="PeriodCellReferencePK implements Serializable">
<table tableName="null" schema="null" domainObjectName="PeriodCellReferencePK implements Serializable">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="PERIOD_CELL_TEMPLATE" domainObjectName="PeriodCellTemplate">
<table tableName="PERIOD_CELL_TEMPLATE" schema="tax_project" domainObjectName="PeriodCellTemplate">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -509,7 +531,7 @@
<columnOverride column="COPY_FROM_ID" javaType="java.lang.Long" />
</table>
<table tableName="PERIOD_CELL_TEMPLATE_CONFIG" domainObjectName="PeriodCellTemplateConfig">
<table tableName="PERIOD_CELL_TEMPLATE_CONFIG" schema="tax_project" domainObjectName="PeriodCellTemplateConfig">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -522,7 +544,7 @@
<columnOverride column="CELL_TEMPLATE_CONFIG_ID" javaType="java.lang.Long" />
</table>
<table tableName="PERIOD_FORMULA_BLOCK" domainObjectName="PeriodFormulaBlock">
<table tableName="PERIOD_FORMULA_BLOCK" schema="tax_project" domainObjectName="PeriodFormulaBlock">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -532,7 +554,7 @@
<columnOverride column="DATA_SOURCE_ID" javaType="java.lang.Long" />
</table>
<table tableName="PERIOD_TAX_PAYER_REPORT_RULE" domainObjectName="PeriodTaxPayerReportRule">
<table tableName="PERIOD_TAX_PAYER_REPORT_RULE" schema="tax_project" domainObjectName="PeriodTaxPayerReportRule">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -543,7 +565,7 @@
<columnOverride column="TAX_PAYER_REPORT_RULE_ID" javaType="java.lang.Long" />
</table>
<table tableName="PERIOD_TAX_RULE_SETTING" domainObjectName="PeriodTaxRuleSetting">
<table tableName="PERIOD_TAX_RULE_SETTING" schema="tax_project" domainObjectName="PeriodTaxRuleSetting">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -553,7 +575,7 @@
<columnOverride column="TAX_RULE_SETTING_ID" javaType="java.lang.Long" />
</table>
<table tableName="PERIOD_TAX_RULE_SETTING_ORG" domainObjectName="PeriodTaxRuleSettingOrganization">
<table tableName="PERIOD_TAX_RULE_SETTING_ORG" schema="tax_project" domainObjectName="PeriodTaxRuleSettingOrganization">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -562,7 +584,7 @@
<columnOverride column="SETTING_ORG_ID" javaType="java.lang.Long" />
</table>
<table tableName="PERIOD_TEMPLATE" domainObjectName="PeriodTemplate">
<table tableName="PERIOD_TEMPLATE" schema="tax_project" domainObjectName="PeriodTemplate">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -575,7 +597,7 @@
<columnOverride column="TEMPLATE_ID" javaType="java.lang.Long" />
</table>
<table tableName="REPORT" domainObjectName="Report">
<table tableName="REPORT" schema="tax_project" domainObjectName="Report">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
......@@ -583,7 +605,19 @@
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="VALIDATION_INFO" domainObjectName="ValidationInfo">
<table tableName="STANDARD_ACCOUNT" schema="tax_project" domainObjectName="StandardAccount">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ACCT_PROP" javaType="java.lang.Integer" />
<columnOverride column="SUB_PROP" javaType="java.lang.Integer" />
<columnOverride column="ACCT_LEVEL" javaType="java.lang.Integer" />
<columnOverride column="DIRECTION" javaType="java.lang.Integer" />
<columnOverride column="IS_LEAF" javaType="java.lang.Boolean" />
<columnOverride column="RULE_TYPE" javaType="java.lang.Integer" />
<columnOverride column="IS_ACTIVE" javaType="java.lang.Boolean" />
</table>
<table tableName="VALIDATION_INFO" schema="tax_project" domainObjectName="ValidationInfo">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="IMPORT_TYPE_ID" javaType="java.lang.Integer" />
......@@ -594,7 +628,7 @@
<columnOverride column="IS_SHOW_DETAIL" javaType="java.lang.Boolean" />
</table>
<table tableName="VOUCHER" domainObjectName="Voucher">
<table tableName="VOUCHER" schema="tax_project" domainObjectName="Voucher">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
......@@ -609,7 +643,7 @@
<columnOverride column="BILLED_PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="VOUCHER_MAIN" domainObjectName="VoucherMain">
<table tableName="VOUCHER_MAIN" schema="tax_project" domainObjectName="VoucherMain">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
......@@ -619,7 +653,7 @@
<columnOverride column="AMOUNT_CREDIT" javaType="java.math.BigDecimal" />
</table>
<table tableName="VOUCHER_MAPPING" domainObjectName="VoucherMapping">
<table tableName="VOUCHER_MAPPING" schema="tax_project" domainObjectName="VoucherMapping">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
......
......@@ -27,7 +27,7 @@ public class ExtractCommitFromDiff {
diff = new Diff();
diff.fileName = line.substring(line.lastIndexOf("/ atms-dao") + 1, line.length());
} else if (line.startsWith("+") || line.s rtsWith("-")) {
} else if (line.startsWith("+") || line.startsWith("-")) {
if (line.startsWith("++") || line.startsWith("--")) continue;
if (diff == null) {
System.out.println(line);
......
......@@ -16,6 +16,9 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import static pwc.taxtech.Const.PROJECT_ADMIN;
import static pwc.taxtech.Const.PROJECT_SCHEMA;
public class GenGeneratorXml {
public static final boolean IS_ADMIN = true;
public static final boolean IS_VAT = false;
......@@ -52,6 +55,7 @@ public class GenGeneratorXml {
if (line.contains("@Table")) {
System.out.println("table line:" + line);
table.tableName = extractName(line);
table.schema = isAdmin ? PROJECT_ADMIN : PROJECT_SCHEMA;
} else if (line.contains("class")) {
if (line.contains("IdClass") || line.contains("classCode")) continue;
System.out.println("entity line:" + line);
......@@ -88,11 +92,13 @@ public class GenGeneratorXml {
static class Table {
String tableName;
String entityName;
String schema;
List<ColumnOverride> columnOverrides = new ArrayList<>();
@Override
public String toString() {
return " <table tableName=\"" + tableName + "\" domainObjectName=\"" + entityName + "\">" + LINE_SPLITER +
return " <table tableName=\"" + tableName + "\" schema=\"" + schema + "\" " +
"domainObjectName=\"" + entityName + "\">" + LINE_SPLITER +
" <property name=\"useActualColumnNames\" value=\"false\"/>" + LINE_SPLITER +
" <property name=\"ignoreQualifiersAtRuntime\" value=\"true\"/>" + LINE_SPLITER +
getColumnsString() +
......@@ -218,7 +224,7 @@ public class GenGeneratorXml {
" PUBLIC \"-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN\"\n" +
" \"http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd\">\n" +
"<generatorConfiguration>\n" +
" <properties resource=\""+(isAdmin?"generator":"vatGenerator")+".properties\" />\n" +
" <properties resource=\"" + (isAdmin ? "generator" : "vatGenerator") + ".properties\" />\n" +
" <context id=\"contextId\" targetRuntime=\"MyBatis3\">\n" +
" <property name=\"autoDelimitKeywords\" value=\"true\" />\n" +
" <property name=\"beginningDelimiter\" value=\"" + (dbType.equals(ORACLE) ? "&quot;" : "`") + "\"/>\n" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment