Commit 252ed411 authored by eddie.woo's avatar eddie.woo

modify

parent c0e13311
......@@ -11,7 +11,7 @@
<property name="javaFileEncoding" value="UTF-8" />
<!--<plugin type="cn.pwc.demo.util.MapperAnnotationPlugin" />-->
<plugin type="org.mybatis.generator.plugins.MapperAnnotationPlugin"/>
<plugin type="org.mybatis.generator.plugins.RowBoundsPlugin" />
<!--<plugin type="org.mybatis.generator.plugins.RowBoundsPlugin" />-->
<plugin type="org.mybatis.generator.plugins.ToStringPlugin" />
<plugin type="org.mybatis.generator.plugins.SerializablePlugin" />
<commentGenerator>
......@@ -25,7 +25,7 @@
</jdbcConnection>
<javaTypeResolver>
<property name="forceBigDecimals" value="false" />
<property name="forceBigDecimals" value="true" />
</javaTypeResolver>
<javaModelGenerator targetPackage="pwc.taxtech.atms.vat.entity" targetProject="../../src/main/java">
......@@ -39,199 +39,205 @@
<javaClientGenerator type="XMLMAPPER" targetPackage="pwc.taxtech.atms.vat.dao" targetProject="../../src/main/java">
<property name="rootInterface" value="pwc.taxtech.atms.MyVatMapper"/>
</javaClientGenerator>
<table tableName="PERIOD_CELL_COMMENT" schema="tax_admin" domainObjectName="PeriodCellComment">
<!--<table tableName="PERIOD_CELL_COMMENT" schema="tax_admin" domainObjectName="PeriodCellComment">-->
<!--<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" />-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--</table>-->
<!--<table tableName="PERIOD_CELL_DATA" schema="tax_admin" domainObjectName="PeriodCellData">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="REPORT_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="CELL_TEMPLATE_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--</table>-->
<!--<table tableName="PERIOD_CELL_DATA_SOURCE" schema="tax_admin" domainObjectName="PeriodCellDataSource">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="CELL_TEMPLATE_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="CELL_DATA_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="DATA_SOURCE_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="OPERATION_TYPE" javaType="java.lang.Integer" />-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--</table>-->
<!--<table tableName="PERIOD_CELL_REFERENCE" schema="tax_admin" domainObjectName="PeriodCellReference">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--<columnOverride column="FORMULA_BLOCK_INDEX" javaType="java.lang.Integer" />-->
<!--<columnOverride column="IS_VALIDATION" javaType="java.lang.Boolean" />-->
<!--</table>-->
<!--<table tableName="PERIOD_CELL_TEMPLATE" schema="tax_admin" domainObjectName="PeriodCellTemplate">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--<columnOverride column="REPORT_TEMPLATE_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="ROW_INDEX" javaType="java.lang.Integer" />-->
<!--<columnOverride column="COLUMN_INDEX" javaType="java.lang.Integer" />-->
<!--<columnOverride column="CELL_TEMPLATE_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="DATA_TYPE" javaType="java.lang.Integer" />-->
<!--<columnOverride column="IS_READ_ONLY" javaType="java.lang.Integer" />-->
<!--<columnOverride column="COPY_FROM_ID" javaType="java.lang.Long" />-->
<!--</table>-->
<!--<table tableName="PERIOD_CELL_TEMPLATE_CONFIG" schema="tax_admin" domainObjectName="PeriodCellTemplateConfig">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--<columnOverride column="CELL_TEMPLATE_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="REPORT_TEMPLATE_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="DATA_SOURCE_TYPE" javaType="java.lang.Integer" />-->
<!--<columnOverride column="INVOICE_TYPE" javaType="java.lang.Integer" />-->
<!--<columnOverride column="INVOICE_AMOUNT_TYPE" javaType="java.lang.Integer" />-->
<!--<columnOverride column="CELL_TEMPLATE_CONFIG_ID" javaType="java.lang.Long" />-->
<!--</table>-->
<!--<table tableName="PERIOD_DATA_SOURCE" schema="tax_admin" domainObjectName="PeriodDataSource">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="TYPE" javaType="java.lang.Integer" />-->
<!--<columnOverride column="AMOUNT" javaType="java.math.BigDecimal" />-->
<!--<columnOverride column="ROW_INDEX" javaType="java.lang.Integer" />-->
<!--<columnOverride column="COLUMN_INDEX" javaType="java.lang.Integer" />-->
<!--<columnOverride column="CELL_TEMPLATE_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--</table>-->
<!--<table tableName="PERIOD_DATA_SOURCE_DETAIL" schema="tax_admin" domainObjectName="PeriodDataSourceDetail">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="DATA_SOURCE_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="DATA_SOURCE_TYPE" javaType="java.lang.Integer" />-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--</table>-->
<!--<table tableName="PERIOD_ENTERPRISE_ACCOUNT" schema="tax_admin" domainObjectName="PeriodEnterpriseAccount">-->
<!--<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" />-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--</table>-->
<!--<table tableName="PERIOD_FORMULA_BLOCK" schema="tax_admin" domainObjectName="PeriodFormulaBlock">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--<columnOverride column="REPORT_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="CELL_TEMPLATE_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="DATA_SOURCE_ID" javaType="java.lang.Long" />-->
<!--</table>-->
<!--<table tableName="PERIOD_MODIFIED_REPORT_CELL" schema="tax_admin" domainObjectName="PeriodModifiedReportCell">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="REPORT_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="ROW" javaType="java.lang.Integer" />-->
<!--<columnOverride column="COL" javaType="java.lang.Integer" />-->
<!--<columnOverride column="RELATED_CELL_DATA_ID" javaType="java.lang.Long" />-->
<!--</table>-->
<!--<table tableName="PERIOD_REPORT" schema="tax_admin" domainObjectName="PeriodReport">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="TEMPLATE_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--</table>-->
<!--<table tableName="PERIOD_STANDARD_ACCOUNT" schema="tax_admin" domainObjectName="PeriodStandardAccount">-->
<!--<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" />-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--</table>-->
<!--<table tableName="PERIOD_TAX_PAYER_REPORT_RULE" schema="tax_admin" domainObjectName="PeriodTaxPayerReportRule">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="IS_DEFAULT" javaType="java.lang.Integer" />-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--<columnOverride column="TAX_PAYER_TYPE" javaType="java.lang.Integer" />-->
<!--<columnOverride column="TEMPLATE_GROUP_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="TAX_PAYER_REPORT_RULE_ID" javaType="java.lang.Long" />-->
<!--</table>-->
<!--<table tableName="PERIOD_TAX_RULE_SETTING" schema="tax_admin" domainObjectName="PeriodTaxRuleSetting">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="IS_DEFAULT" javaType="java.lang.Integer" />-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--<columnOverride column="TAX_RATE" javaType="java.math.BigDecimal" />-->
<!--<columnOverride column="TAX_RULE_SETTING_ID" javaType="java.lang.Long" />-->
<!--</table>-->
<!--<table tableName="PERIOD_TAX_RULE_SETTING_ORG" schema="tax_admin" domainObjectName="PeriodTaxRuleSettingOrganization">-->
<!--<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" />-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--<columnOverride column="SETTING_ORG_ID" javaType="java.lang.Long" />-->
<!--</table>-->
<!--<table tableName="PERIOD_TEMPLATE" schema="tax_admin" domainObjectName="PeriodTemplate">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--<columnOverride column="REPORT_TYPE" javaType="java.lang.Integer" />-->
<!--<columnOverride column="TEMPLATE_GROUP_ID" javaType="java.lang.Long" />-->
<!--<columnOverride column="ORDER_INDEX" javaType="java.lang.Integer" />-->
<!--<columnOverride column="IS_SYSTEM_TYPE" javaType="java.lang.Boolean" />-->
<!--<columnOverride column="IS_ACTIVE_ASSOCIATION" javaType="java.lang.Boolean" />-->
<!--<columnOverride column="TEMPLATE_ID" javaType="java.lang.Long" />-->
<!--</table>-->
<!--<table tableName="PERIOD_APPROVE" schema="tax_admin" domainObjectName="PeriodApprove">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--<columnOverride column="YEAR" javaType="java.lang.Integer" />-->
<!--</table>-->
<!--<table tableName="PERIOD_JOB" schema="tax_admin" domainObjectName="PeriodJob">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="PERIOD" javaType="java.lang.Integer" />-->
<!--</table>-->
<table tableName="GL_BALANCE" schema="tax_admin" domainObjectName="GlBalance">
<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" />
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="PERIOD_CELL_DATA" schema="tax_admin" domainObjectName="PeriodCellData">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
<columnOverride column="REPORT_ID" javaType="java.lang.Long" />
<columnOverride column="CELL_TEMPLATE_ID" javaType="java.lang.Long" />
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="PERIOD_CELL_DATA_SOURCE" schema="tax_admin" domainObjectName="PeriodCellDataSource">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
<columnOverride column="CELL_TEMPLATE_ID" javaType="java.lang.Long" />
<columnOverride column="CELL_DATA_ID" javaType="java.lang.Long" />
<columnOverride column="DATA_SOURCE_ID" javaType="java.lang.Long" />
<columnOverride column="OPERATION_TYPE" javaType="java.lang.Integer" />
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="PERIOD_CELL_REFERENCE" schema="tax_admin" domainObjectName="PeriodCellReference">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
<columnOverride column="FORMULA_BLOCK_INDEX" javaType="java.lang.Integer" />
<columnOverride column="IS_VALIDATION" javaType="java.lang.Boolean" />
</table>
<table tableName="PERIOD_CELL_TEMPLATE" schema="tax_admin" domainObjectName="PeriodCellTemplate">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
<columnOverride column="REPORT_TEMPLATE_ID" javaType="java.lang.Long" />
<columnOverride column="ROW_INDEX" javaType="java.lang.Integer" />
<columnOverride column="COLUMN_INDEX" javaType="java.lang.Integer" />
<columnOverride column="CELL_TEMPLATE_ID" javaType="java.lang.Long" />
<columnOverride column="DATA_TYPE" javaType="java.lang.Integer" />
<columnOverride column="IS_READ_ONLY" javaType="java.lang.Integer" />
<columnOverride column="COPY_FROM_ID" javaType="java.lang.Long" />
</table>
<table tableName="PERIOD_CELL_TEMPLATE_CONFIG" schema="tax_admin" domainObjectName="PeriodCellTemplateConfig">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
<columnOverride column="CELL_TEMPLATE_ID" javaType="java.lang.Long" />
<columnOverride column="REPORT_TEMPLATE_ID" javaType="java.lang.Long" />
<columnOverride column="DATA_SOURCE_TYPE" javaType="java.lang.Integer" />
<columnOverride column="INVOICE_TYPE" javaType="java.lang.Integer" />
<columnOverride column="INVOICE_AMOUNT_TYPE" javaType="java.lang.Integer" />
<columnOverride column="CELL_TEMPLATE_CONFIG_ID" javaType="java.lang.Long" />
</table>
<table tableName="PERIOD_DATA_SOURCE" schema="tax_admin" domainObjectName="PeriodDataSource">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
<columnOverride column="TYPE" javaType="java.lang.Integer" />
<columnOverride column="AMOUNT" javaType="java.math.BigDecimal" />
<columnOverride column="ROW_INDEX" javaType="java.lang.Integer" />
<columnOverride column="COLUMN_INDEX" javaType="java.lang.Integer" />
<columnOverride column="CELL_TEMPLATE_ID" javaType="java.lang.Long" />
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="PERIOD_DATA_SOURCE_DETAIL" schema="tax_admin" domainObjectName="PeriodDataSourceDetail">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
<columnOverride column="DATA_SOURCE_ID" javaType="java.lang.Long" />
<columnOverride column="DATA_SOURCE_TYPE" javaType="java.lang.Integer" />
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="PERIOD_ENTERPRISE_ACCOUNT" schema="tax_admin" domainObjectName="PeriodEnterpriseAccount">
<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" />
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="PERIOD_FORMULA_BLOCK" schema="tax_admin" domainObjectName="PeriodFormulaBlock">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
<columnOverride column="REPORT_ID" javaType="java.lang.Long" />
<columnOverride column="CELL_TEMPLATE_ID" javaType="java.lang.Long" />
<columnOverride column="DATA_SOURCE_ID" javaType="java.lang.Long" />
</table>
<table tableName="PERIOD_MODIFIED_REPORT_CELL" schema="tax_admin" domainObjectName="PeriodModifiedReportCell">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
<columnOverride column="REPORT_ID" javaType="java.lang.Long" />
<columnOverride column="ROW" javaType="java.lang.Integer" />
<columnOverride column="COL" javaType="java.lang.Integer" />
<columnOverride column="RELATED_CELL_DATA_ID" javaType="java.lang.Long" />
</table>
<table tableName="PERIOD_REPORT" schema="tax_admin" domainObjectName="PeriodReport">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
<columnOverride column="TEMPLATE_ID" javaType="java.lang.Long" />
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="PERIOD_STANDARD_ACCOUNT" schema="tax_admin" domainObjectName="PeriodStandardAccount">
<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" />
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
</table>
<table tableName="PERIOD_TAX_PAYER_REPORT_RULE" schema="tax_admin" domainObjectName="PeriodTaxPayerReportRule">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
<columnOverride column="IS_DEFAULT" javaType="java.lang.Integer" />
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
<columnOverride column="TAX_PAYER_TYPE" javaType="java.lang.Integer" />
<columnOverride column="TEMPLATE_GROUP_ID" javaType="java.lang.Long" />
<columnOverride column="TAX_PAYER_REPORT_RULE_ID" javaType="java.lang.Long" />
</table>
<table tableName="PERIOD_TAX_RULE_SETTING" schema="tax_admin" domainObjectName="PeriodTaxRuleSetting">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
<columnOverride column="IS_DEFAULT" javaType="java.lang.Integer" />
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
<columnOverride column="TAX_RATE" javaType="java.math.BigDecimal" />
<columnOverride column="TAX_RULE_SETTING_ID" javaType="java.lang.Long" />
</table>
<table tableName="PERIOD_TAX_RULE_SETTING_ORG" schema="tax_admin" domainObjectName="PeriodTaxRuleSettingOrganization">
<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" />
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
<columnOverride column="SETTING_ORG_ID" javaType="java.lang.Long" />
</table>
<table tableName="PERIOD_TEMPLATE" schema="tax_admin" domainObjectName="PeriodTemplate">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="ID" javaType="java.lang.Long" />
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
<columnOverride column="REPORT_TYPE" javaType="java.lang.Integer" />
<columnOverride column="TEMPLATE_GROUP_ID" javaType="java.lang.Long" />
<columnOverride column="ORDER_INDEX" javaType="java.lang.Integer" />
<columnOverride column="IS_SYSTEM_TYPE" javaType="java.lang.Boolean" />
<columnOverride column="IS_ACTIVE_ASSOCIATION" javaType="java.lang.Boolean" />
<columnOverride column="TEMPLATE_ID" javaType="java.lang.Long" />
</table>
<table tableName="PERIOD_APPROVE" schema="tax_admin" domainObjectName="PeriodApprove">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
<columnOverride column="YEAR" javaType="java.lang.Integer" />
</table>
<table tableName="PERIOD_JOB" schema="tax_admin" domainObjectName="PeriodJob">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="PERIOD" javaType="java.lang.Integer" />
</table>
</context>
......
package pwc.taxtech.atms.vat.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import pwc.taxtech.atms.MyVatMapper;
import pwc.taxtech.atms.vat.entity.GlBalance;
import pwc.taxtech.atms.vat.entity.GlBalanceExample;
@Mapper
public interface GlBalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
long countByExample(GlBalanceExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
int deleteByExample(GlBalanceExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
int insert(GlBalance record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
int insertSelective(GlBalance record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
List<GlBalance> selectByExample(GlBalanceExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") GlBalance record, @Param("example") GlBalanceExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
int updateByExample(@Param("record") GlBalance record, @Param("example") GlBalanceExample example);
}
\ No newline at end of file
package pwc.taxtech.atms.vat.entity;
import java.io.Serializable;
import java.math.BigDecimal;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated do_not_delete_during_merge
*/
public class GlBalance implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.ID
*
* @mbg.generated
*/
private Long id;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.CODE_COMBINATION_ID
*
* @mbg.generated
*/
private BigDecimal codeCombinationId;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.CODE_COMBINATION_CODE
*
* @mbg.generated
*/
private String codeCombinationCode;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.CODE_COMBINATION_DESCRIPTION
*
* @mbg.generated
*/
private String codeCombinationDescription;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.ATTRIBUTE12
*
* @mbg.generated
*/
private String attribute12;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.SEGMENT1
*
* @mbg.generated
*/
private String segment1;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.SEGMENT2
*
* @mbg.generated
*/
private String segment2;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.SEGMENT3
*
* @mbg.generated
*/
private String segment3;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.SEGMENT4
*
* @mbg.generated
*/
private String segment4;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.SEGMENT5
*
* @mbg.generated
*/
private String segment5;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.SEGMENT6
*
* @mbg.generated
*/
private String segment6;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.SEGMENT7
*
* @mbg.generated
*/
private String segment7;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.PERIOD_NAME
*
* @mbg.generated
*/
private String periodName;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.BEGIN_DR_BALANCE
*
* @mbg.generated
*/
private BigDecimal beginDrBalance;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.BEGIN_CR_BALANCE
*
* @mbg.generated
*/
private BigDecimal beginCrBalance;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.PTD_DR
*
* @mbg.generated
*/
private BigDecimal ptdDr;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.PTD_CR
*
* @mbg.generated
*/
private BigDecimal ptdCr;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.YTD_DR
*
* @mbg.generated
*/
private BigDecimal ytdDr;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.YTD_CR
*
* @mbg.generated
*/
private BigDecimal ytdCr;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.END_DR_BALANCE
*
* @mbg.generated
*/
private BigDecimal endDrBalance;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.END_CR_BALANCE
*
* @mbg.generated
*/
private BigDecimal endCrBalance;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.ATTR1
*
* @mbg.generated
*/
private String attr1;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.ATTR2
*
* @mbg.generated
*/
private String attr2;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.ATTR3
*
* @mbg.generated
*/
private String attr3;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.ATTR4
*
* @mbg.generated
*/
private String attr4;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.GL_BALANCE.ATTR5
*
* @mbg.generated
*/
private String attr5;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
private static final long serialVersionUID = 1L;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.ID
*
* @return the value of TAX_ADMIN.GL_BALANCE.ID
*
* @mbg.generated
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.ID
*
* @param id the value for TAX_ADMIN.GL_BALANCE.ID
*
* @mbg.generated
*/
public void setId(Long id) {
this.id = id;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.CODE_COMBINATION_ID
*
* @return the value of TAX_ADMIN.GL_BALANCE.CODE_COMBINATION_ID
*
* @mbg.generated
*/
public BigDecimal getCodeCombinationId() {
return codeCombinationId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.CODE_COMBINATION_ID
*
* @param codeCombinationId the value for TAX_ADMIN.GL_BALANCE.CODE_COMBINATION_ID
*
* @mbg.generated
*/
public void setCodeCombinationId(BigDecimal codeCombinationId) {
this.codeCombinationId = codeCombinationId;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.CODE_COMBINATION_CODE
*
* @return the value of TAX_ADMIN.GL_BALANCE.CODE_COMBINATION_CODE
*
* @mbg.generated
*/
public String getCodeCombinationCode() {
return codeCombinationCode;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.CODE_COMBINATION_CODE
*
* @param codeCombinationCode the value for TAX_ADMIN.GL_BALANCE.CODE_COMBINATION_CODE
*
* @mbg.generated
*/
public void setCodeCombinationCode(String codeCombinationCode) {
this.codeCombinationCode = codeCombinationCode == null ? null : codeCombinationCode.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.CODE_COMBINATION_DESCRIPTION
*
* @return the value of TAX_ADMIN.GL_BALANCE.CODE_COMBINATION_DESCRIPTION
*
* @mbg.generated
*/
public String getCodeCombinationDescription() {
return codeCombinationDescription;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.CODE_COMBINATION_DESCRIPTION
*
* @param codeCombinationDescription the value for TAX_ADMIN.GL_BALANCE.CODE_COMBINATION_DESCRIPTION
*
* @mbg.generated
*/
public void setCodeCombinationDescription(String codeCombinationDescription) {
this.codeCombinationDescription = codeCombinationDescription == null ? null : codeCombinationDescription.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.ATTRIBUTE12
*
* @return the value of TAX_ADMIN.GL_BALANCE.ATTRIBUTE12
*
* @mbg.generated
*/
public String getAttribute12() {
return attribute12;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.ATTRIBUTE12
*
* @param attribute12 the value for TAX_ADMIN.GL_BALANCE.ATTRIBUTE12
*
* @mbg.generated
*/
public void setAttribute12(String attribute12) {
this.attribute12 = attribute12 == null ? null : attribute12.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.SEGMENT1
*
* @return the value of TAX_ADMIN.GL_BALANCE.SEGMENT1
*
* @mbg.generated
*/
public String getSegment1() {
return segment1;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.SEGMENT1
*
* @param segment1 the value for TAX_ADMIN.GL_BALANCE.SEGMENT1
*
* @mbg.generated
*/
public void setSegment1(String segment1) {
this.segment1 = segment1 == null ? null : segment1.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.SEGMENT2
*
* @return the value of TAX_ADMIN.GL_BALANCE.SEGMENT2
*
* @mbg.generated
*/
public String getSegment2() {
return segment2;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.SEGMENT2
*
* @param segment2 the value for TAX_ADMIN.GL_BALANCE.SEGMENT2
*
* @mbg.generated
*/
public void setSegment2(String segment2) {
this.segment2 = segment2 == null ? null : segment2.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.SEGMENT3
*
* @return the value of TAX_ADMIN.GL_BALANCE.SEGMENT3
*
* @mbg.generated
*/
public String getSegment3() {
return segment3;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.SEGMENT3
*
* @param segment3 the value for TAX_ADMIN.GL_BALANCE.SEGMENT3
*
* @mbg.generated
*/
public void setSegment3(String segment3) {
this.segment3 = segment3 == null ? null : segment3.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.SEGMENT4
*
* @return the value of TAX_ADMIN.GL_BALANCE.SEGMENT4
*
* @mbg.generated
*/
public String getSegment4() {
return segment4;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.SEGMENT4
*
* @param segment4 the value for TAX_ADMIN.GL_BALANCE.SEGMENT4
*
* @mbg.generated
*/
public void setSegment4(String segment4) {
this.segment4 = segment4 == null ? null : segment4.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.SEGMENT5
*
* @return the value of TAX_ADMIN.GL_BALANCE.SEGMENT5
*
* @mbg.generated
*/
public String getSegment5() {
return segment5;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.SEGMENT5
*
* @param segment5 the value for TAX_ADMIN.GL_BALANCE.SEGMENT5
*
* @mbg.generated
*/
public void setSegment5(String segment5) {
this.segment5 = segment5 == null ? null : segment5.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.SEGMENT6
*
* @return the value of TAX_ADMIN.GL_BALANCE.SEGMENT6
*
* @mbg.generated
*/
public String getSegment6() {
return segment6;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.SEGMENT6
*
* @param segment6 the value for TAX_ADMIN.GL_BALANCE.SEGMENT6
*
* @mbg.generated
*/
public void setSegment6(String segment6) {
this.segment6 = segment6 == null ? null : segment6.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.SEGMENT7
*
* @return the value of TAX_ADMIN.GL_BALANCE.SEGMENT7
*
* @mbg.generated
*/
public String getSegment7() {
return segment7;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.SEGMENT7
*
* @param segment7 the value for TAX_ADMIN.GL_BALANCE.SEGMENT7
*
* @mbg.generated
*/
public void setSegment7(String segment7) {
this.segment7 = segment7 == null ? null : segment7.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.PERIOD_NAME
*
* @return the value of TAX_ADMIN.GL_BALANCE.PERIOD_NAME
*
* @mbg.generated
*/
public String getPeriodName() {
return periodName;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.PERIOD_NAME
*
* @param periodName the value for TAX_ADMIN.GL_BALANCE.PERIOD_NAME
*
* @mbg.generated
*/
public void setPeriodName(String periodName) {
this.periodName = periodName == null ? null : periodName.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.BEGIN_DR_BALANCE
*
* @return the value of TAX_ADMIN.GL_BALANCE.BEGIN_DR_BALANCE
*
* @mbg.generated
*/
public BigDecimal getBeginDrBalance() {
return beginDrBalance;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.BEGIN_DR_BALANCE
*
* @param beginDrBalance the value for TAX_ADMIN.GL_BALANCE.BEGIN_DR_BALANCE
*
* @mbg.generated
*/
public void setBeginDrBalance(BigDecimal beginDrBalance) {
this.beginDrBalance = beginDrBalance;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.BEGIN_CR_BALANCE
*
* @return the value of TAX_ADMIN.GL_BALANCE.BEGIN_CR_BALANCE
*
* @mbg.generated
*/
public BigDecimal getBeginCrBalance() {
return beginCrBalance;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.BEGIN_CR_BALANCE
*
* @param beginCrBalance the value for TAX_ADMIN.GL_BALANCE.BEGIN_CR_BALANCE
*
* @mbg.generated
*/
public void setBeginCrBalance(BigDecimal beginCrBalance) {
this.beginCrBalance = beginCrBalance;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.PTD_DR
*
* @return the value of TAX_ADMIN.GL_BALANCE.PTD_DR
*
* @mbg.generated
*/
public BigDecimal getPtdDr() {
return ptdDr;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.PTD_DR
*
* @param ptdDr the value for TAX_ADMIN.GL_BALANCE.PTD_DR
*
* @mbg.generated
*/
public void setPtdDr(BigDecimal ptdDr) {
this.ptdDr = ptdDr;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.PTD_CR
*
* @return the value of TAX_ADMIN.GL_BALANCE.PTD_CR
*
* @mbg.generated
*/
public BigDecimal getPtdCr() {
return ptdCr;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.PTD_CR
*
* @param ptdCr the value for TAX_ADMIN.GL_BALANCE.PTD_CR
*
* @mbg.generated
*/
public void setPtdCr(BigDecimal ptdCr) {
this.ptdCr = ptdCr;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.YTD_DR
*
* @return the value of TAX_ADMIN.GL_BALANCE.YTD_DR
*
* @mbg.generated
*/
public BigDecimal getYtdDr() {
return ytdDr;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.YTD_DR
*
* @param ytdDr the value for TAX_ADMIN.GL_BALANCE.YTD_DR
*
* @mbg.generated
*/
public void setYtdDr(BigDecimal ytdDr) {
this.ytdDr = ytdDr;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.YTD_CR
*
* @return the value of TAX_ADMIN.GL_BALANCE.YTD_CR
*
* @mbg.generated
*/
public BigDecimal getYtdCr() {
return ytdCr;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.YTD_CR
*
* @param ytdCr the value for TAX_ADMIN.GL_BALANCE.YTD_CR
*
* @mbg.generated
*/
public void setYtdCr(BigDecimal ytdCr) {
this.ytdCr = ytdCr;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.END_DR_BALANCE
*
* @return the value of TAX_ADMIN.GL_BALANCE.END_DR_BALANCE
*
* @mbg.generated
*/
public BigDecimal getEndDrBalance() {
return endDrBalance;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.END_DR_BALANCE
*
* @param endDrBalance the value for TAX_ADMIN.GL_BALANCE.END_DR_BALANCE
*
* @mbg.generated
*/
public void setEndDrBalance(BigDecimal endDrBalance) {
this.endDrBalance = endDrBalance;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.END_CR_BALANCE
*
* @return the value of TAX_ADMIN.GL_BALANCE.END_CR_BALANCE
*
* @mbg.generated
*/
public BigDecimal getEndCrBalance() {
return endCrBalance;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.END_CR_BALANCE
*
* @param endCrBalance the value for TAX_ADMIN.GL_BALANCE.END_CR_BALANCE
*
* @mbg.generated
*/
public void setEndCrBalance(BigDecimal endCrBalance) {
this.endCrBalance = endCrBalance;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.ATTR1
*
* @return the value of TAX_ADMIN.GL_BALANCE.ATTR1
*
* @mbg.generated
*/
public String getAttr1() {
return attr1;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.ATTR1
*
* @param attr1 the value for TAX_ADMIN.GL_BALANCE.ATTR1
*
* @mbg.generated
*/
public void setAttr1(String attr1) {
this.attr1 = attr1 == null ? null : attr1.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.ATTR2
*
* @return the value of TAX_ADMIN.GL_BALANCE.ATTR2
*
* @mbg.generated
*/
public String getAttr2() {
return attr2;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.ATTR2
*
* @param attr2 the value for TAX_ADMIN.GL_BALANCE.ATTR2
*
* @mbg.generated
*/
public void setAttr2(String attr2) {
this.attr2 = attr2 == null ? null : attr2.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.ATTR3
*
* @return the value of TAX_ADMIN.GL_BALANCE.ATTR3
*
* @mbg.generated
*/
public String getAttr3() {
return attr3;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.ATTR3
*
* @param attr3 the value for TAX_ADMIN.GL_BALANCE.ATTR3
*
* @mbg.generated
*/
public void setAttr3(String attr3) {
this.attr3 = attr3 == null ? null : attr3.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.ATTR4
*
* @return the value of TAX_ADMIN.GL_BALANCE.ATTR4
*
* @mbg.generated
*/
public String getAttr4() {
return attr4;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.ATTR4
*
* @param attr4 the value for TAX_ADMIN.GL_BALANCE.ATTR4
*
* @mbg.generated
*/
public void setAttr4(String attr4) {
this.attr4 = attr4 == null ? null : attr4.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.GL_BALANCE.ATTR5
*
* @return the value of TAX_ADMIN.GL_BALANCE.ATTR5
*
* @mbg.generated
*/
public String getAttr5() {
return attr5;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.GL_BALANCE.ATTR5
*
* @param attr5 the value for TAX_ADMIN.GL_BALANCE.ATTR5
*
* @mbg.generated
*/
public void setAttr5(String attr5) {
this.attr5 = attr5 == null ? null : attr5.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", codeCombinationId=").append(codeCombinationId);
sb.append(", codeCombinationCode=").append(codeCombinationCode);
sb.append(", codeCombinationDescription=").append(codeCombinationDescription);
sb.append(", attribute12=").append(attribute12);
sb.append(", segment1=").append(segment1);
sb.append(", segment2=").append(segment2);
sb.append(", segment3=").append(segment3);
sb.append(", segment4=").append(segment4);
sb.append(", segment5=").append(segment5);
sb.append(", segment6=").append(segment6);
sb.append(", segment7=").append(segment7);
sb.append(", periodName=").append(periodName);
sb.append(", beginDrBalance=").append(beginDrBalance);
sb.append(", beginCrBalance=").append(beginCrBalance);
sb.append(", ptdDr=").append(ptdDr);
sb.append(", ptdCr=").append(ptdCr);
sb.append(", ytdDr=").append(ytdDr);
sb.append(", ytdCr=").append(ytdCr);
sb.append(", endDrBalance=").append(endDrBalance);
sb.append(", endCrBalance=").append(endCrBalance);
sb.append(", attr1=").append(attr1);
sb.append(", attr2=").append(attr2);
sb.append(", attr3=").append(attr3);
sb.append(", attr4=").append(attr4);
sb.append(", attr5=").append(attr5);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package pwc.taxtech.atms.vat.entity;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
public class GlBalanceExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
protected String orderByClause;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
protected boolean distinct;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
protected List<Criteria> oredCriteria;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
public GlBalanceExample() {
oredCriteria = new ArrayList<Criteria>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
public String getOrderByClause() {
return orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
public boolean isDistinct() {
return distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("ID is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("ID is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("ID =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("ID <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("ID >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("ID >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("ID <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("ID <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("ID in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("ID not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("ID between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("ID not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andCodeCombinationIdIsNull() {
addCriterion("CODE_COMBINATION_ID is null");
return (Criteria) this;
}
public Criteria andCodeCombinationIdIsNotNull() {
addCriterion("CODE_COMBINATION_ID is not null");
return (Criteria) this;
}
public Criteria andCodeCombinationIdEqualTo(BigDecimal value) {
addCriterion("CODE_COMBINATION_ID =", value, "codeCombinationId");
return (Criteria) this;
}
public Criteria andCodeCombinationIdNotEqualTo(BigDecimal value) {
addCriterion("CODE_COMBINATION_ID <>", value, "codeCombinationId");
return (Criteria) this;
}
public Criteria andCodeCombinationIdGreaterThan(BigDecimal value) {
addCriterion("CODE_COMBINATION_ID >", value, "codeCombinationId");
return (Criteria) this;
}
public Criteria andCodeCombinationIdGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("CODE_COMBINATION_ID >=", value, "codeCombinationId");
return (Criteria) this;
}
public Criteria andCodeCombinationIdLessThan(BigDecimal value) {
addCriterion("CODE_COMBINATION_ID <", value, "codeCombinationId");
return (Criteria) this;
}
public Criteria andCodeCombinationIdLessThanOrEqualTo(BigDecimal value) {
addCriterion("CODE_COMBINATION_ID <=", value, "codeCombinationId");
return (Criteria) this;
}
public Criteria andCodeCombinationIdIn(List<BigDecimal> values) {
addCriterion("CODE_COMBINATION_ID in", values, "codeCombinationId");
return (Criteria) this;
}
public Criteria andCodeCombinationIdNotIn(List<BigDecimal> values) {
addCriterion("CODE_COMBINATION_ID not in", values, "codeCombinationId");
return (Criteria) this;
}
public Criteria andCodeCombinationIdBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("CODE_COMBINATION_ID between", value1, value2, "codeCombinationId");
return (Criteria) this;
}
public Criteria andCodeCombinationIdNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("CODE_COMBINATION_ID not between", value1, value2, "codeCombinationId");
return (Criteria) this;
}
public Criteria andCodeCombinationCodeIsNull() {
addCriterion("CODE_COMBINATION_CODE is null");
return (Criteria) this;
}
public Criteria andCodeCombinationCodeIsNotNull() {
addCriterion("CODE_COMBINATION_CODE is not null");
return (Criteria) this;
}
public Criteria andCodeCombinationCodeEqualTo(String value) {
addCriterion("CODE_COMBINATION_CODE =", value, "codeCombinationCode");
return (Criteria) this;
}
public Criteria andCodeCombinationCodeNotEqualTo(String value) {
addCriterion("CODE_COMBINATION_CODE <>", value, "codeCombinationCode");
return (Criteria) this;
}
public Criteria andCodeCombinationCodeGreaterThan(String value) {
addCriterion("CODE_COMBINATION_CODE >", value, "codeCombinationCode");
return (Criteria) this;
}
public Criteria andCodeCombinationCodeGreaterThanOrEqualTo(String value) {
addCriterion("CODE_COMBINATION_CODE >=", value, "codeCombinationCode");
return (Criteria) this;
}
public Criteria andCodeCombinationCodeLessThan(String value) {
addCriterion("CODE_COMBINATION_CODE <", value, "codeCombinationCode");
return (Criteria) this;
}
public Criteria andCodeCombinationCodeLessThanOrEqualTo(String value) {
addCriterion("CODE_COMBINATION_CODE <=", value, "codeCombinationCode");
return (Criteria) this;
}
public Criteria andCodeCombinationCodeLike(String value) {
addCriterion("CODE_COMBINATION_CODE like", value, "codeCombinationCode");
return (Criteria) this;
}
public Criteria andCodeCombinationCodeNotLike(String value) {
addCriterion("CODE_COMBINATION_CODE not like", value, "codeCombinationCode");
return (Criteria) this;
}
public Criteria andCodeCombinationCodeIn(List<String> values) {
addCriterion("CODE_COMBINATION_CODE in", values, "codeCombinationCode");
return (Criteria) this;
}
public Criteria andCodeCombinationCodeNotIn(List<String> values) {
addCriterion("CODE_COMBINATION_CODE not in", values, "codeCombinationCode");
return (Criteria) this;
}
public Criteria andCodeCombinationCodeBetween(String value1, String value2) {
addCriterion("CODE_COMBINATION_CODE between", value1, value2, "codeCombinationCode");
return (Criteria) this;
}
public Criteria andCodeCombinationCodeNotBetween(String value1, String value2) {
addCriterion("CODE_COMBINATION_CODE not between", value1, value2, "codeCombinationCode");
return (Criteria) this;
}
public Criteria andCodeCombinationDescriptionIsNull() {
addCriterion("CODE_COMBINATION_DESCRIPTION is null");
return (Criteria) this;
}
public Criteria andCodeCombinationDescriptionIsNotNull() {
addCriterion("CODE_COMBINATION_DESCRIPTION is not null");
return (Criteria) this;
}
public Criteria andCodeCombinationDescriptionEqualTo(String value) {
addCriterion("CODE_COMBINATION_DESCRIPTION =", value, "codeCombinationDescription");
return (Criteria) this;
}
public Criteria andCodeCombinationDescriptionNotEqualTo(String value) {
addCriterion("CODE_COMBINATION_DESCRIPTION <>", value, "codeCombinationDescription");
return (Criteria) this;
}
public Criteria andCodeCombinationDescriptionGreaterThan(String value) {
addCriterion("CODE_COMBINATION_DESCRIPTION >", value, "codeCombinationDescription");
return (Criteria) this;
}
public Criteria andCodeCombinationDescriptionGreaterThanOrEqualTo(String value) {
addCriterion("CODE_COMBINATION_DESCRIPTION >=", value, "codeCombinationDescription");
return (Criteria) this;
}
public Criteria andCodeCombinationDescriptionLessThan(String value) {
addCriterion("CODE_COMBINATION_DESCRIPTION <", value, "codeCombinationDescription");
return (Criteria) this;
}
public Criteria andCodeCombinationDescriptionLessThanOrEqualTo(String value) {
addCriterion("CODE_COMBINATION_DESCRIPTION <=", value, "codeCombinationDescription");
return (Criteria) this;
}
public Criteria andCodeCombinationDescriptionLike(String value) {
addCriterion("CODE_COMBINATION_DESCRIPTION like", value, "codeCombinationDescription");
return (Criteria) this;
}
public Criteria andCodeCombinationDescriptionNotLike(String value) {
addCriterion("CODE_COMBINATION_DESCRIPTION not like", value, "codeCombinationDescription");
return (Criteria) this;
}
public Criteria andCodeCombinationDescriptionIn(List<String> values) {
addCriterion("CODE_COMBINATION_DESCRIPTION in", values, "codeCombinationDescription");
return (Criteria) this;
}
public Criteria andCodeCombinationDescriptionNotIn(List<String> values) {
addCriterion("CODE_COMBINATION_DESCRIPTION not in", values, "codeCombinationDescription");
return (Criteria) this;
}
public Criteria andCodeCombinationDescriptionBetween(String value1, String value2) {
addCriterion("CODE_COMBINATION_DESCRIPTION between", value1, value2, "codeCombinationDescription");
return (Criteria) this;
}
public Criteria andCodeCombinationDescriptionNotBetween(String value1, String value2) {
addCriterion("CODE_COMBINATION_DESCRIPTION not between", value1, value2, "codeCombinationDescription");
return (Criteria) this;
}
public Criteria andAttribute12IsNull() {
addCriterion("ATTRIBUTE12 is null");
return (Criteria) this;
}
public Criteria andAttribute12IsNotNull() {
addCriterion("ATTRIBUTE12 is not null");
return (Criteria) this;
}
public Criteria andAttribute12EqualTo(String value) {
addCriterion("ATTRIBUTE12 =", value, "attribute12");
return (Criteria) this;
}
public Criteria andAttribute12NotEqualTo(String value) {
addCriterion("ATTRIBUTE12 <>", value, "attribute12");
return (Criteria) this;
}
public Criteria andAttribute12GreaterThan(String value) {
addCriterion("ATTRIBUTE12 >", value, "attribute12");
return (Criteria) this;
}
public Criteria andAttribute12GreaterThanOrEqualTo(String value) {
addCriterion("ATTRIBUTE12 >=", value, "attribute12");
return (Criteria) this;
}
public Criteria andAttribute12LessThan(String value) {
addCriterion("ATTRIBUTE12 <", value, "attribute12");
return (Criteria) this;
}
public Criteria andAttribute12LessThanOrEqualTo(String value) {
addCriterion("ATTRIBUTE12 <=", value, "attribute12");
return (Criteria) this;
}
public Criteria andAttribute12Like(String value) {
addCriterion("ATTRIBUTE12 like", value, "attribute12");
return (Criteria) this;
}
public Criteria andAttribute12NotLike(String value) {
addCriterion("ATTRIBUTE12 not like", value, "attribute12");
return (Criteria) this;
}
public Criteria andAttribute12In(List<String> values) {
addCriterion("ATTRIBUTE12 in", values, "attribute12");
return (Criteria) this;
}
public Criteria andAttribute12NotIn(List<String> values) {
addCriterion("ATTRIBUTE12 not in", values, "attribute12");
return (Criteria) this;
}
public Criteria andAttribute12Between(String value1, String value2) {
addCriterion("ATTRIBUTE12 between", value1, value2, "attribute12");
return (Criteria) this;
}
public Criteria andAttribute12NotBetween(String value1, String value2) {
addCriterion("ATTRIBUTE12 not between", value1, value2, "attribute12");
return (Criteria) this;
}
public Criteria andSegment1IsNull() {
addCriterion("SEGMENT1 is null");
return (Criteria) this;
}
public Criteria andSegment1IsNotNull() {
addCriterion("SEGMENT1 is not null");
return (Criteria) this;
}
public Criteria andSegment1EqualTo(String value) {
addCriterion("SEGMENT1 =", value, "segment1");
return (Criteria) this;
}
public Criteria andSegment1NotEqualTo(String value) {
addCriterion("SEGMENT1 <>", value, "segment1");
return (Criteria) this;
}
public Criteria andSegment1GreaterThan(String value) {
addCriterion("SEGMENT1 >", value, "segment1");
return (Criteria) this;
}
public Criteria andSegment1GreaterThanOrEqualTo(String value) {
addCriterion("SEGMENT1 >=", value, "segment1");
return (Criteria) this;
}
public Criteria andSegment1LessThan(String value) {
addCriterion("SEGMENT1 <", value, "segment1");
return (Criteria) this;
}
public Criteria andSegment1LessThanOrEqualTo(String value) {
addCriterion("SEGMENT1 <=", value, "segment1");
return (Criteria) this;
}
public Criteria andSegment1Like(String value) {
addCriterion("SEGMENT1 like", value, "segment1");
return (Criteria) this;
}
public Criteria andSegment1NotLike(String value) {
addCriterion("SEGMENT1 not like", value, "segment1");
return (Criteria) this;
}
public Criteria andSegment1In(List<String> values) {
addCriterion("SEGMENT1 in", values, "segment1");
return (Criteria) this;
}
public Criteria andSegment1NotIn(List<String> values) {
addCriterion("SEGMENT1 not in", values, "segment1");
return (Criteria) this;
}
public Criteria andSegment1Between(String value1, String value2) {
addCriterion("SEGMENT1 between", value1, value2, "segment1");
return (Criteria) this;
}
public Criteria andSegment1NotBetween(String value1, String value2) {
addCriterion("SEGMENT1 not between", value1, value2, "segment1");
return (Criteria) this;
}
public Criteria andSegment2IsNull() {
addCriterion("SEGMENT2 is null");
return (Criteria) this;
}
public Criteria andSegment2IsNotNull() {
addCriterion("SEGMENT2 is not null");
return (Criteria) this;
}
public Criteria andSegment2EqualTo(String value) {
addCriterion("SEGMENT2 =", value, "segment2");
return (Criteria) this;
}
public Criteria andSegment2NotEqualTo(String value) {
addCriterion("SEGMENT2 <>", value, "segment2");
return (Criteria) this;
}
public Criteria andSegment2GreaterThan(String value) {
addCriterion("SEGMENT2 >", value, "segment2");
return (Criteria) this;
}
public Criteria andSegment2GreaterThanOrEqualTo(String value) {
addCriterion("SEGMENT2 >=", value, "segment2");
return (Criteria) this;
}
public Criteria andSegment2LessThan(String value) {
addCriterion("SEGMENT2 <", value, "segment2");
return (Criteria) this;
}
public Criteria andSegment2LessThanOrEqualTo(String value) {
addCriterion("SEGMENT2 <=", value, "segment2");
return (Criteria) this;
}
public Criteria andSegment2Like(String value) {
addCriterion("SEGMENT2 like", value, "segment2");
return (Criteria) this;
}
public Criteria andSegment2NotLike(String value) {
addCriterion("SEGMENT2 not like", value, "segment2");
return (Criteria) this;
}
public Criteria andSegment2In(List<String> values) {
addCriterion("SEGMENT2 in", values, "segment2");
return (Criteria) this;
}
public Criteria andSegment2NotIn(List<String> values) {
addCriterion("SEGMENT2 not in", values, "segment2");
return (Criteria) this;
}
public Criteria andSegment2Between(String value1, String value2) {
addCriterion("SEGMENT2 between", value1, value2, "segment2");
return (Criteria) this;
}
public Criteria andSegment2NotBetween(String value1, String value2) {
addCriterion("SEGMENT2 not between", value1, value2, "segment2");
return (Criteria) this;
}
public Criteria andSegment3IsNull() {
addCriterion("SEGMENT3 is null");
return (Criteria) this;
}
public Criteria andSegment3IsNotNull() {
addCriterion("SEGMENT3 is not null");
return (Criteria) this;
}
public Criteria andSegment3EqualTo(String value) {
addCriterion("SEGMENT3 =", value, "segment3");
return (Criteria) this;
}
public Criteria andSegment3NotEqualTo(String value) {
addCriterion("SEGMENT3 <>", value, "segment3");
return (Criteria) this;
}
public Criteria andSegment3GreaterThan(String value) {
addCriterion("SEGMENT3 >", value, "segment3");
return (Criteria) this;
}
public Criteria andSegment3GreaterThanOrEqualTo(String value) {
addCriterion("SEGMENT3 >=", value, "segment3");
return (Criteria) this;
}
public Criteria andSegment3LessThan(String value) {
addCriterion("SEGMENT3 <", value, "segment3");
return (Criteria) this;
}
public Criteria andSegment3LessThanOrEqualTo(String value) {
addCriterion("SEGMENT3 <=", value, "segment3");
return (Criteria) this;
}
public Criteria andSegment3Like(String value) {
addCriterion("SEGMENT3 like", value, "segment3");
return (Criteria) this;
}
public Criteria andSegment3NotLike(String value) {
addCriterion("SEGMENT3 not like", value, "segment3");
return (Criteria) this;
}
public Criteria andSegment3In(List<String> values) {
addCriterion("SEGMENT3 in", values, "segment3");
return (Criteria) this;
}
public Criteria andSegment3NotIn(List<String> values) {
addCriterion("SEGMENT3 not in", values, "segment3");
return (Criteria) this;
}
public Criteria andSegment3Between(String value1, String value2) {
addCriterion("SEGMENT3 between", value1, value2, "segment3");
return (Criteria) this;
}
public Criteria andSegment3NotBetween(String value1, String value2) {
addCriterion("SEGMENT3 not between", value1, value2, "segment3");
return (Criteria) this;
}
public Criteria andSegment4IsNull() {
addCriterion("SEGMENT4 is null");
return (Criteria) this;
}
public Criteria andSegment4IsNotNull() {
addCriterion("SEGMENT4 is not null");
return (Criteria) this;
}
public Criteria andSegment4EqualTo(String value) {
addCriterion("SEGMENT4 =", value, "segment4");
return (Criteria) this;
}
public Criteria andSegment4NotEqualTo(String value) {
addCriterion("SEGMENT4 <>", value, "segment4");
return (Criteria) this;
}
public Criteria andSegment4GreaterThan(String value) {
addCriterion("SEGMENT4 >", value, "segment4");
return (Criteria) this;
}
public Criteria andSegment4GreaterThanOrEqualTo(String value) {
addCriterion("SEGMENT4 >=", value, "segment4");
return (Criteria) this;
}
public Criteria andSegment4LessThan(String value) {
addCriterion("SEGMENT4 <", value, "segment4");
return (Criteria) this;
}
public Criteria andSegment4LessThanOrEqualTo(String value) {
addCriterion("SEGMENT4 <=", value, "segment4");
return (Criteria) this;
}
public Criteria andSegment4Like(String value) {
addCriterion("SEGMENT4 like", value, "segment4");
return (Criteria) this;
}
public Criteria andSegment4NotLike(String value) {
addCriterion("SEGMENT4 not like", value, "segment4");
return (Criteria) this;
}
public Criteria andSegment4In(List<String> values) {
addCriterion("SEGMENT4 in", values, "segment4");
return (Criteria) this;
}
public Criteria andSegment4NotIn(List<String> values) {
addCriterion("SEGMENT4 not in", values, "segment4");
return (Criteria) this;
}
public Criteria andSegment4Between(String value1, String value2) {
addCriterion("SEGMENT4 between", value1, value2, "segment4");
return (Criteria) this;
}
public Criteria andSegment4NotBetween(String value1, String value2) {
addCriterion("SEGMENT4 not between", value1, value2, "segment4");
return (Criteria) this;
}
public Criteria andSegment5IsNull() {
addCriterion("SEGMENT5 is null");
return (Criteria) this;
}
public Criteria andSegment5IsNotNull() {
addCriterion("SEGMENT5 is not null");
return (Criteria) this;
}
public Criteria andSegment5EqualTo(String value) {
addCriterion("SEGMENT5 =", value, "segment5");
return (Criteria) this;
}
public Criteria andSegment5NotEqualTo(String value) {
addCriterion("SEGMENT5 <>", value, "segment5");
return (Criteria) this;
}
public Criteria andSegment5GreaterThan(String value) {
addCriterion("SEGMENT5 >", value, "segment5");
return (Criteria) this;
}
public Criteria andSegment5GreaterThanOrEqualTo(String value) {
addCriterion("SEGMENT5 >=", value, "segment5");
return (Criteria) this;
}
public Criteria andSegment5LessThan(String value) {
addCriterion("SEGMENT5 <", value, "segment5");
return (Criteria) this;
}
public Criteria andSegment5LessThanOrEqualTo(String value) {
addCriterion("SEGMENT5 <=", value, "segment5");
return (Criteria) this;
}
public Criteria andSegment5Like(String value) {
addCriterion("SEGMENT5 like", value, "segment5");
return (Criteria) this;
}
public Criteria andSegment5NotLike(String value) {
addCriterion("SEGMENT5 not like", value, "segment5");
return (Criteria) this;
}
public Criteria andSegment5In(List<String> values) {
addCriterion("SEGMENT5 in", values, "segment5");
return (Criteria) this;
}
public Criteria andSegment5NotIn(List<String> values) {
addCriterion("SEGMENT5 not in", values, "segment5");
return (Criteria) this;
}
public Criteria andSegment5Between(String value1, String value2) {
addCriterion("SEGMENT5 between", value1, value2, "segment5");
return (Criteria) this;
}
public Criteria andSegment5NotBetween(String value1, String value2) {
addCriterion("SEGMENT5 not between", value1, value2, "segment5");
return (Criteria) this;
}
public Criteria andSegment6IsNull() {
addCriterion("SEGMENT6 is null");
return (Criteria) this;
}
public Criteria andSegment6IsNotNull() {
addCriterion("SEGMENT6 is not null");
return (Criteria) this;
}
public Criteria andSegment6EqualTo(String value) {
addCriterion("SEGMENT6 =", value, "segment6");
return (Criteria) this;
}
public Criteria andSegment6NotEqualTo(String value) {
addCriterion("SEGMENT6 <>", value, "segment6");
return (Criteria) this;
}
public Criteria andSegment6GreaterThan(String value) {
addCriterion("SEGMENT6 >", value, "segment6");
return (Criteria) this;
}
public Criteria andSegment6GreaterThanOrEqualTo(String value) {
addCriterion("SEGMENT6 >=", value, "segment6");
return (Criteria) this;
}
public Criteria andSegment6LessThan(String value) {
addCriterion("SEGMENT6 <", value, "segment6");
return (Criteria) this;
}
public Criteria andSegment6LessThanOrEqualTo(String value) {
addCriterion("SEGMENT6 <=", value, "segment6");
return (Criteria) this;
}
public Criteria andSegment6Like(String value) {
addCriterion("SEGMENT6 like", value, "segment6");
return (Criteria) this;
}
public Criteria andSegment6NotLike(String value) {
addCriterion("SEGMENT6 not like", value, "segment6");
return (Criteria) this;
}
public Criteria andSegment6In(List<String> values) {
addCriterion("SEGMENT6 in", values, "segment6");
return (Criteria) this;
}
public Criteria andSegment6NotIn(List<String> values) {
addCriterion("SEGMENT6 not in", values, "segment6");
return (Criteria) this;
}
public Criteria andSegment6Between(String value1, String value2) {
addCriterion("SEGMENT6 between", value1, value2, "segment6");
return (Criteria) this;
}
public Criteria andSegment6NotBetween(String value1, String value2) {
addCriterion("SEGMENT6 not between", value1, value2, "segment6");
return (Criteria) this;
}
public Criteria andSegment7IsNull() {
addCriterion("SEGMENT7 is null");
return (Criteria) this;
}
public Criteria andSegment7IsNotNull() {
addCriterion("SEGMENT7 is not null");
return (Criteria) this;
}
public Criteria andSegment7EqualTo(String value) {
addCriterion("SEGMENT7 =", value, "segment7");
return (Criteria) this;
}
public Criteria andSegment7NotEqualTo(String value) {
addCriterion("SEGMENT7 <>", value, "segment7");
return (Criteria) this;
}
public Criteria andSegment7GreaterThan(String value) {
addCriterion("SEGMENT7 >", value, "segment7");
return (Criteria) this;
}
public Criteria andSegment7GreaterThanOrEqualTo(String value) {
addCriterion("SEGMENT7 >=", value, "segment7");
return (Criteria) this;
}
public Criteria andSegment7LessThan(String value) {
addCriterion("SEGMENT7 <", value, "segment7");
return (Criteria) this;
}
public Criteria andSegment7LessThanOrEqualTo(String value) {
addCriterion("SEGMENT7 <=", value, "segment7");
return (Criteria) this;
}
public Criteria andSegment7Like(String value) {
addCriterion("SEGMENT7 like", value, "segment7");
return (Criteria) this;
}
public Criteria andSegment7NotLike(String value) {
addCriterion("SEGMENT7 not like", value, "segment7");
return (Criteria) this;
}
public Criteria andSegment7In(List<String> values) {
addCriterion("SEGMENT7 in", values, "segment7");
return (Criteria) this;
}
public Criteria andSegment7NotIn(List<String> values) {
addCriterion("SEGMENT7 not in", values, "segment7");
return (Criteria) this;
}
public Criteria andSegment7Between(String value1, String value2) {
addCriterion("SEGMENT7 between", value1, value2, "segment7");
return (Criteria) this;
}
public Criteria andSegment7NotBetween(String value1, String value2) {
addCriterion("SEGMENT7 not between", value1, value2, "segment7");
return (Criteria) this;
}
public Criteria andPeriodNameIsNull() {
addCriterion("PERIOD_NAME is null");
return (Criteria) this;
}
public Criteria andPeriodNameIsNotNull() {
addCriterion("PERIOD_NAME is not null");
return (Criteria) this;
}
public Criteria andPeriodNameEqualTo(String value) {
addCriterion("PERIOD_NAME =", value, "periodName");
return (Criteria) this;
}
public Criteria andPeriodNameNotEqualTo(String value) {
addCriterion("PERIOD_NAME <>", value, "periodName");
return (Criteria) this;
}
public Criteria andPeriodNameGreaterThan(String value) {
addCriterion("PERIOD_NAME >", value, "periodName");
return (Criteria) this;
}
public Criteria andPeriodNameGreaterThanOrEqualTo(String value) {
addCriterion("PERIOD_NAME >=", value, "periodName");
return (Criteria) this;
}
public Criteria andPeriodNameLessThan(String value) {
addCriterion("PERIOD_NAME <", value, "periodName");
return (Criteria) this;
}
public Criteria andPeriodNameLessThanOrEqualTo(String value) {
addCriterion("PERIOD_NAME <=", value, "periodName");
return (Criteria) this;
}
public Criteria andPeriodNameLike(String value) {
addCriterion("PERIOD_NAME like", value, "periodName");
return (Criteria) this;
}
public Criteria andPeriodNameNotLike(String value) {
addCriterion("PERIOD_NAME not like", value, "periodName");
return (Criteria) this;
}
public Criteria andPeriodNameIn(List<String> values) {
addCriterion("PERIOD_NAME in", values, "periodName");
return (Criteria) this;
}
public Criteria andPeriodNameNotIn(List<String> values) {
addCriterion("PERIOD_NAME not in", values, "periodName");
return (Criteria) this;
}
public Criteria andPeriodNameBetween(String value1, String value2) {
addCriterion("PERIOD_NAME between", value1, value2, "periodName");
return (Criteria) this;
}
public Criteria andPeriodNameNotBetween(String value1, String value2) {
addCriterion("PERIOD_NAME not between", value1, value2, "periodName");
return (Criteria) this;
}
public Criteria andBeginDrBalanceIsNull() {
addCriterion("BEGIN_DR_BALANCE is null");
return (Criteria) this;
}
public Criteria andBeginDrBalanceIsNotNull() {
addCriterion("BEGIN_DR_BALANCE is not null");
return (Criteria) this;
}
public Criteria andBeginDrBalanceEqualTo(BigDecimal value) {
addCriterion("BEGIN_DR_BALANCE =", value, "beginDrBalance");
return (Criteria) this;
}
public Criteria andBeginDrBalanceNotEqualTo(BigDecimal value) {
addCriterion("BEGIN_DR_BALANCE <>", value, "beginDrBalance");
return (Criteria) this;
}
public Criteria andBeginDrBalanceGreaterThan(BigDecimal value) {
addCriterion("BEGIN_DR_BALANCE >", value, "beginDrBalance");
return (Criteria) this;
}
public Criteria andBeginDrBalanceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("BEGIN_DR_BALANCE >=", value, "beginDrBalance");
return (Criteria) this;
}
public Criteria andBeginDrBalanceLessThan(BigDecimal value) {
addCriterion("BEGIN_DR_BALANCE <", value, "beginDrBalance");
return (Criteria) this;
}
public Criteria andBeginDrBalanceLessThanOrEqualTo(BigDecimal value) {
addCriterion("BEGIN_DR_BALANCE <=", value, "beginDrBalance");
return (Criteria) this;
}
public Criteria andBeginDrBalanceIn(List<BigDecimal> values) {
addCriterion("BEGIN_DR_BALANCE in", values, "beginDrBalance");
return (Criteria) this;
}
public Criteria andBeginDrBalanceNotIn(List<BigDecimal> values) {
addCriterion("BEGIN_DR_BALANCE not in", values, "beginDrBalance");
return (Criteria) this;
}
public Criteria andBeginDrBalanceBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("BEGIN_DR_BALANCE between", value1, value2, "beginDrBalance");
return (Criteria) this;
}
public Criteria andBeginDrBalanceNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("BEGIN_DR_BALANCE not between", value1, value2, "beginDrBalance");
return (Criteria) this;
}
public Criteria andBeginCrBalanceIsNull() {
addCriterion("BEGIN_CR_BALANCE is null");
return (Criteria) this;
}
public Criteria andBeginCrBalanceIsNotNull() {
addCriterion("BEGIN_CR_BALANCE is not null");
return (Criteria) this;
}
public Criteria andBeginCrBalanceEqualTo(BigDecimal value) {
addCriterion("BEGIN_CR_BALANCE =", value, "beginCrBalance");
return (Criteria) this;
}
public Criteria andBeginCrBalanceNotEqualTo(BigDecimal value) {
addCriterion("BEGIN_CR_BALANCE <>", value, "beginCrBalance");
return (Criteria) this;
}
public Criteria andBeginCrBalanceGreaterThan(BigDecimal value) {
addCriterion("BEGIN_CR_BALANCE >", value, "beginCrBalance");
return (Criteria) this;
}
public Criteria andBeginCrBalanceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("BEGIN_CR_BALANCE >=", value, "beginCrBalance");
return (Criteria) this;
}
public Criteria andBeginCrBalanceLessThan(BigDecimal value) {
addCriterion("BEGIN_CR_BALANCE <", value, "beginCrBalance");
return (Criteria) this;
}
public Criteria andBeginCrBalanceLessThanOrEqualTo(BigDecimal value) {
addCriterion("BEGIN_CR_BALANCE <=", value, "beginCrBalance");
return (Criteria) this;
}
public Criteria andBeginCrBalanceIn(List<BigDecimal> values) {
addCriterion("BEGIN_CR_BALANCE in", values, "beginCrBalance");
return (Criteria) this;
}
public Criteria andBeginCrBalanceNotIn(List<BigDecimal> values) {
addCriterion("BEGIN_CR_BALANCE not in", values, "beginCrBalance");
return (Criteria) this;
}
public Criteria andBeginCrBalanceBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("BEGIN_CR_BALANCE between", value1, value2, "beginCrBalance");
return (Criteria) this;
}
public Criteria andBeginCrBalanceNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("BEGIN_CR_BALANCE not between", value1, value2, "beginCrBalance");
return (Criteria) this;
}
public Criteria andPtdDrIsNull() {
addCriterion("PTD_DR is null");
return (Criteria) this;
}
public Criteria andPtdDrIsNotNull() {
addCriterion("PTD_DR is not null");
return (Criteria) this;
}
public Criteria andPtdDrEqualTo(BigDecimal value) {
addCriterion("PTD_DR =", value, "ptdDr");
return (Criteria) this;
}
public Criteria andPtdDrNotEqualTo(BigDecimal value) {
addCriterion("PTD_DR <>", value, "ptdDr");
return (Criteria) this;
}
public Criteria andPtdDrGreaterThan(BigDecimal value) {
addCriterion("PTD_DR >", value, "ptdDr");
return (Criteria) this;
}
public Criteria andPtdDrGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("PTD_DR >=", value, "ptdDr");
return (Criteria) this;
}
public Criteria andPtdDrLessThan(BigDecimal value) {
addCriterion("PTD_DR <", value, "ptdDr");
return (Criteria) this;
}
public Criteria andPtdDrLessThanOrEqualTo(BigDecimal value) {
addCriterion("PTD_DR <=", value, "ptdDr");
return (Criteria) this;
}
public Criteria andPtdDrIn(List<BigDecimal> values) {
addCriterion("PTD_DR in", values, "ptdDr");
return (Criteria) this;
}
public Criteria andPtdDrNotIn(List<BigDecimal> values) {
addCriterion("PTD_DR not in", values, "ptdDr");
return (Criteria) this;
}
public Criteria andPtdDrBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("PTD_DR between", value1, value2, "ptdDr");
return (Criteria) this;
}
public Criteria andPtdDrNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("PTD_DR not between", value1, value2, "ptdDr");
return (Criteria) this;
}
public Criteria andPtdCrIsNull() {
addCriterion("PTD_CR is null");
return (Criteria) this;
}
public Criteria andPtdCrIsNotNull() {
addCriterion("PTD_CR is not null");
return (Criteria) this;
}
public Criteria andPtdCrEqualTo(BigDecimal value) {
addCriterion("PTD_CR =", value, "ptdCr");
return (Criteria) this;
}
public Criteria andPtdCrNotEqualTo(BigDecimal value) {
addCriterion("PTD_CR <>", value, "ptdCr");
return (Criteria) this;
}
public Criteria andPtdCrGreaterThan(BigDecimal value) {
addCriterion("PTD_CR >", value, "ptdCr");
return (Criteria) this;
}
public Criteria andPtdCrGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("PTD_CR >=", value, "ptdCr");
return (Criteria) this;
}
public Criteria andPtdCrLessThan(BigDecimal value) {
addCriterion("PTD_CR <", value, "ptdCr");
return (Criteria) this;
}
public Criteria andPtdCrLessThanOrEqualTo(BigDecimal value) {
addCriterion("PTD_CR <=", value, "ptdCr");
return (Criteria) this;
}
public Criteria andPtdCrIn(List<BigDecimal> values) {
addCriterion("PTD_CR in", values, "ptdCr");
return (Criteria) this;
}
public Criteria andPtdCrNotIn(List<BigDecimal> values) {
addCriterion("PTD_CR not in", values, "ptdCr");
return (Criteria) this;
}
public Criteria andPtdCrBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("PTD_CR between", value1, value2, "ptdCr");
return (Criteria) this;
}
public Criteria andPtdCrNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("PTD_CR not between", value1, value2, "ptdCr");
return (Criteria) this;
}
public Criteria andYtdDrIsNull() {
addCriterion("YTD_DR is null");
return (Criteria) this;
}
public Criteria andYtdDrIsNotNull() {
addCriterion("YTD_DR is not null");
return (Criteria) this;
}
public Criteria andYtdDrEqualTo(BigDecimal value) {
addCriterion("YTD_DR =", value, "ytdDr");
return (Criteria) this;
}
public Criteria andYtdDrNotEqualTo(BigDecimal value) {
addCriterion("YTD_DR <>", value, "ytdDr");
return (Criteria) this;
}
public Criteria andYtdDrGreaterThan(BigDecimal value) {
addCriterion("YTD_DR >", value, "ytdDr");
return (Criteria) this;
}
public Criteria andYtdDrGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("YTD_DR >=", value, "ytdDr");
return (Criteria) this;
}
public Criteria andYtdDrLessThan(BigDecimal value) {
addCriterion("YTD_DR <", value, "ytdDr");
return (Criteria) this;
}
public Criteria andYtdDrLessThanOrEqualTo(BigDecimal value) {
addCriterion("YTD_DR <=", value, "ytdDr");
return (Criteria) this;
}
public Criteria andYtdDrIn(List<BigDecimal> values) {
addCriterion("YTD_DR in", values, "ytdDr");
return (Criteria) this;
}
public Criteria andYtdDrNotIn(List<BigDecimal> values) {
addCriterion("YTD_DR not in", values, "ytdDr");
return (Criteria) this;
}
public Criteria andYtdDrBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("YTD_DR between", value1, value2, "ytdDr");
return (Criteria) this;
}
public Criteria andYtdDrNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("YTD_DR not between", value1, value2, "ytdDr");
return (Criteria) this;
}
public Criteria andYtdCrIsNull() {
addCriterion("YTD_CR is null");
return (Criteria) this;
}
public Criteria andYtdCrIsNotNull() {
addCriterion("YTD_CR is not null");
return (Criteria) this;
}
public Criteria andYtdCrEqualTo(BigDecimal value) {
addCriterion("YTD_CR =", value, "ytdCr");
return (Criteria) this;
}
public Criteria andYtdCrNotEqualTo(BigDecimal value) {
addCriterion("YTD_CR <>", value, "ytdCr");
return (Criteria) this;
}
public Criteria andYtdCrGreaterThan(BigDecimal value) {
addCriterion("YTD_CR >", value, "ytdCr");
return (Criteria) this;
}
public Criteria andYtdCrGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("YTD_CR >=", value, "ytdCr");
return (Criteria) this;
}
public Criteria andYtdCrLessThan(BigDecimal value) {
addCriterion("YTD_CR <", value, "ytdCr");
return (Criteria) this;
}
public Criteria andYtdCrLessThanOrEqualTo(BigDecimal value) {
addCriterion("YTD_CR <=", value, "ytdCr");
return (Criteria) this;
}
public Criteria andYtdCrIn(List<BigDecimal> values) {
addCriterion("YTD_CR in", values, "ytdCr");
return (Criteria) this;
}
public Criteria andYtdCrNotIn(List<BigDecimal> values) {
addCriterion("YTD_CR not in", values, "ytdCr");
return (Criteria) this;
}
public Criteria andYtdCrBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("YTD_CR between", value1, value2, "ytdCr");
return (Criteria) this;
}
public Criteria andYtdCrNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("YTD_CR not between", value1, value2, "ytdCr");
return (Criteria) this;
}
public Criteria andEndDrBalanceIsNull() {
addCriterion("END_DR_BALANCE is null");
return (Criteria) this;
}
public Criteria andEndDrBalanceIsNotNull() {
addCriterion("END_DR_BALANCE is not null");
return (Criteria) this;
}
public Criteria andEndDrBalanceEqualTo(BigDecimal value) {
addCriterion("END_DR_BALANCE =", value, "endDrBalance");
return (Criteria) this;
}
public Criteria andEndDrBalanceNotEqualTo(BigDecimal value) {
addCriterion("END_DR_BALANCE <>", value, "endDrBalance");
return (Criteria) this;
}
public Criteria andEndDrBalanceGreaterThan(BigDecimal value) {
addCriterion("END_DR_BALANCE >", value, "endDrBalance");
return (Criteria) this;
}
public Criteria andEndDrBalanceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("END_DR_BALANCE >=", value, "endDrBalance");
return (Criteria) this;
}
public Criteria andEndDrBalanceLessThan(BigDecimal value) {
addCriterion("END_DR_BALANCE <", value, "endDrBalance");
return (Criteria) this;
}
public Criteria andEndDrBalanceLessThanOrEqualTo(BigDecimal value) {
addCriterion("END_DR_BALANCE <=", value, "endDrBalance");
return (Criteria) this;
}
public Criteria andEndDrBalanceIn(List<BigDecimal> values) {
addCriterion("END_DR_BALANCE in", values, "endDrBalance");
return (Criteria) this;
}
public Criteria andEndDrBalanceNotIn(List<BigDecimal> values) {
addCriterion("END_DR_BALANCE not in", values, "endDrBalance");
return (Criteria) this;
}
public Criteria andEndDrBalanceBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("END_DR_BALANCE between", value1, value2, "endDrBalance");
return (Criteria) this;
}
public Criteria andEndDrBalanceNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("END_DR_BALANCE not between", value1, value2, "endDrBalance");
return (Criteria) this;
}
public Criteria andEndCrBalanceIsNull() {
addCriterion("END_CR_BALANCE is null");
return (Criteria) this;
}
public Criteria andEndCrBalanceIsNotNull() {
addCriterion("END_CR_BALANCE is not null");
return (Criteria) this;
}
public Criteria andEndCrBalanceEqualTo(BigDecimal value) {
addCriterion("END_CR_BALANCE =", value, "endCrBalance");
return (Criteria) this;
}
public Criteria andEndCrBalanceNotEqualTo(BigDecimal value) {
addCriterion("END_CR_BALANCE <>", value, "endCrBalance");
return (Criteria) this;
}
public Criteria andEndCrBalanceGreaterThan(BigDecimal value) {
addCriterion("END_CR_BALANCE >", value, "endCrBalance");
return (Criteria) this;
}
public Criteria andEndCrBalanceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("END_CR_BALANCE >=", value, "endCrBalance");
return (Criteria) this;
}
public Criteria andEndCrBalanceLessThan(BigDecimal value) {
addCriterion("END_CR_BALANCE <", value, "endCrBalance");
return (Criteria) this;
}
public Criteria andEndCrBalanceLessThanOrEqualTo(BigDecimal value) {
addCriterion("END_CR_BALANCE <=", value, "endCrBalance");
return (Criteria) this;
}
public Criteria andEndCrBalanceIn(List<BigDecimal> values) {
addCriterion("END_CR_BALANCE in", values, "endCrBalance");
return (Criteria) this;
}
public Criteria andEndCrBalanceNotIn(List<BigDecimal> values) {
addCriterion("END_CR_BALANCE not in", values, "endCrBalance");
return (Criteria) this;
}
public Criteria andEndCrBalanceBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("END_CR_BALANCE between", value1, value2, "endCrBalance");
return (Criteria) this;
}
public Criteria andEndCrBalanceNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("END_CR_BALANCE not between", value1, value2, "endCrBalance");
return (Criteria) this;
}
public Criteria andAttr1IsNull() {
addCriterion("ATTR1 is null");
return (Criteria) this;
}
public Criteria andAttr1IsNotNull() {
addCriterion("ATTR1 is not null");
return (Criteria) this;
}
public Criteria andAttr1EqualTo(String value) {
addCriterion("ATTR1 =", value, "attr1");
return (Criteria) this;
}
public Criteria andAttr1NotEqualTo(String value) {
addCriterion("ATTR1 <>", value, "attr1");
return (Criteria) this;
}
public Criteria andAttr1GreaterThan(String value) {
addCriterion("ATTR1 >", value, "attr1");
return (Criteria) this;
}
public Criteria andAttr1GreaterThanOrEqualTo(String value) {
addCriterion("ATTR1 >=", value, "attr1");
return (Criteria) this;
}
public Criteria andAttr1LessThan(String value) {
addCriterion("ATTR1 <", value, "attr1");
return (Criteria) this;
}
public Criteria andAttr1LessThanOrEqualTo(String value) {
addCriterion("ATTR1 <=", value, "attr1");
return (Criteria) this;
}
public Criteria andAttr1Like(String value) {
addCriterion("ATTR1 like", value, "attr1");
return (Criteria) this;
}
public Criteria andAttr1NotLike(String value) {
addCriterion("ATTR1 not like", value, "attr1");
return (Criteria) this;
}
public Criteria andAttr1In(List<String> values) {
addCriterion("ATTR1 in", values, "attr1");
return (Criteria) this;
}
public Criteria andAttr1NotIn(List<String> values) {
addCriterion("ATTR1 not in", values, "attr1");
return (Criteria) this;
}
public Criteria andAttr1Between(String value1, String value2) {
addCriterion("ATTR1 between", value1, value2, "attr1");
return (Criteria) this;
}
public Criteria andAttr1NotBetween(String value1, String value2) {
addCriterion("ATTR1 not between", value1, value2, "attr1");
return (Criteria) this;
}
public Criteria andAttr2IsNull() {
addCriterion("ATTR2 is null");
return (Criteria) this;
}
public Criteria andAttr2IsNotNull() {
addCriterion("ATTR2 is not null");
return (Criteria) this;
}
public Criteria andAttr2EqualTo(String value) {
addCriterion("ATTR2 =", value, "attr2");
return (Criteria) this;
}
public Criteria andAttr2NotEqualTo(String value) {
addCriterion("ATTR2 <>", value, "attr2");
return (Criteria) this;
}
public Criteria andAttr2GreaterThan(String value) {
addCriterion("ATTR2 >", value, "attr2");
return (Criteria) this;
}
public Criteria andAttr2GreaterThanOrEqualTo(String value) {
addCriterion("ATTR2 >=", value, "attr2");
return (Criteria) this;
}
public Criteria andAttr2LessThan(String value) {
addCriterion("ATTR2 <", value, "attr2");
return (Criteria) this;
}
public Criteria andAttr2LessThanOrEqualTo(String value) {
addCriterion("ATTR2 <=", value, "attr2");
return (Criteria) this;
}
public Criteria andAttr2Like(String value) {
addCriterion("ATTR2 like", value, "attr2");
return (Criteria) this;
}
public Criteria andAttr2NotLike(String value) {
addCriterion("ATTR2 not like", value, "attr2");
return (Criteria) this;
}
public Criteria andAttr2In(List<String> values) {
addCriterion("ATTR2 in", values, "attr2");
return (Criteria) this;
}
public Criteria andAttr2NotIn(List<String> values) {
addCriterion("ATTR2 not in", values, "attr2");
return (Criteria) this;
}
public Criteria andAttr2Between(String value1, String value2) {
addCriterion("ATTR2 between", value1, value2, "attr2");
return (Criteria) this;
}
public Criteria andAttr2NotBetween(String value1, String value2) {
addCriterion("ATTR2 not between", value1, value2, "attr2");
return (Criteria) this;
}
public Criteria andAttr3IsNull() {
addCriterion("ATTR3 is null");
return (Criteria) this;
}
public Criteria andAttr3IsNotNull() {
addCriterion("ATTR3 is not null");
return (Criteria) this;
}
public Criteria andAttr3EqualTo(String value) {
addCriterion("ATTR3 =", value, "attr3");
return (Criteria) this;
}
public Criteria andAttr3NotEqualTo(String value) {
addCriterion("ATTR3 <>", value, "attr3");
return (Criteria) this;
}
public Criteria andAttr3GreaterThan(String value) {
addCriterion("ATTR3 >", value, "attr3");
return (Criteria) this;
}
public Criteria andAttr3GreaterThanOrEqualTo(String value) {
addCriterion("ATTR3 >=", value, "attr3");
return (Criteria) this;
}
public Criteria andAttr3LessThan(String value) {
addCriterion("ATTR3 <", value, "attr3");
return (Criteria) this;
}
public Criteria andAttr3LessThanOrEqualTo(String value) {
addCriterion("ATTR3 <=", value, "attr3");
return (Criteria) this;
}
public Criteria andAttr3Like(String value) {
addCriterion("ATTR3 like", value, "attr3");
return (Criteria) this;
}
public Criteria andAttr3NotLike(String value) {
addCriterion("ATTR3 not like", value, "attr3");
return (Criteria) this;
}
public Criteria andAttr3In(List<String> values) {
addCriterion("ATTR3 in", values, "attr3");
return (Criteria) this;
}
public Criteria andAttr3NotIn(List<String> values) {
addCriterion("ATTR3 not in", values, "attr3");
return (Criteria) this;
}
public Criteria andAttr3Between(String value1, String value2) {
addCriterion("ATTR3 between", value1, value2, "attr3");
return (Criteria) this;
}
public Criteria andAttr3NotBetween(String value1, String value2) {
addCriterion("ATTR3 not between", value1, value2, "attr3");
return (Criteria) this;
}
public Criteria andAttr4IsNull() {
addCriterion("ATTR4 is null");
return (Criteria) this;
}
public Criteria andAttr4IsNotNull() {
addCriterion("ATTR4 is not null");
return (Criteria) this;
}
public Criteria andAttr4EqualTo(String value) {
addCriterion("ATTR4 =", value, "attr4");
return (Criteria) this;
}
public Criteria andAttr4NotEqualTo(String value) {
addCriterion("ATTR4 <>", value, "attr4");
return (Criteria) this;
}
public Criteria andAttr4GreaterThan(String value) {
addCriterion("ATTR4 >", value, "attr4");
return (Criteria) this;
}
public Criteria andAttr4GreaterThanOrEqualTo(String value) {
addCriterion("ATTR4 >=", value, "attr4");
return (Criteria) this;
}
public Criteria andAttr4LessThan(String value) {
addCriterion("ATTR4 <", value, "attr4");
return (Criteria) this;
}
public Criteria andAttr4LessThanOrEqualTo(String value) {
addCriterion("ATTR4 <=", value, "attr4");
return (Criteria) this;
}
public Criteria andAttr4Like(String value) {
addCriterion("ATTR4 like", value, "attr4");
return (Criteria) this;
}
public Criteria andAttr4NotLike(String value) {
addCriterion("ATTR4 not like", value, "attr4");
return (Criteria) this;
}
public Criteria andAttr4In(List<String> values) {
addCriterion("ATTR4 in", values, "attr4");
return (Criteria) this;
}
public Criteria andAttr4NotIn(List<String> values) {
addCriterion("ATTR4 not in", values, "attr4");
return (Criteria) this;
}
public Criteria andAttr4Between(String value1, String value2) {
addCriterion("ATTR4 between", value1, value2, "attr4");
return (Criteria) this;
}
public Criteria andAttr4NotBetween(String value1, String value2) {
addCriterion("ATTR4 not between", value1, value2, "attr4");
return (Criteria) this;
}
public Criteria andAttr5IsNull() {
addCriterion("ATTR5 is null");
return (Criteria) this;
}
public Criteria andAttr5IsNotNull() {
addCriterion("ATTR5 is not null");
return (Criteria) this;
}
public Criteria andAttr5EqualTo(String value) {
addCriterion("ATTR5 =", value, "attr5");
return (Criteria) this;
}
public Criteria andAttr5NotEqualTo(String value) {
addCriterion("ATTR5 <>", value, "attr5");
return (Criteria) this;
}
public Criteria andAttr5GreaterThan(String value) {
addCriterion("ATTR5 >", value, "attr5");
return (Criteria) this;
}
public Criteria andAttr5GreaterThanOrEqualTo(String value) {
addCriterion("ATTR5 >=", value, "attr5");
return (Criteria) this;
}
public Criteria andAttr5LessThan(String value) {
addCriterion("ATTR5 <", value, "attr5");
return (Criteria) this;
}
public Criteria andAttr5LessThanOrEqualTo(String value) {
addCriterion("ATTR5 <=", value, "attr5");
return (Criteria) this;
}
public Criteria andAttr5Like(String value) {
addCriterion("ATTR5 like", value, "attr5");
return (Criteria) this;
}
public Criteria andAttr5NotLike(String value) {
addCriterion("ATTR5 not like", value, "attr5");
return (Criteria) this;
}
public Criteria andAttr5In(List<String> values) {
addCriterion("ATTR5 in", values, "attr5");
return (Criteria) this;
}
public Criteria andAttr5NotIn(List<String> values) {
addCriterion("ATTR5 not in", values, "attr5");
return (Criteria) this;
}
public Criteria andAttr5Between(String value1, String value2) {
addCriterion("ATTR5 between", value1, value2, "attr5");
return (Criteria) this;
}
public Criteria andAttr5NotBetween(String value1, String value2) {
addCriterion("ATTR5 not between", value1, value2, "attr5");
return (Criteria) this;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated do_not_delete_during_merge
*/
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table TAX_ADMIN.GL_BALANCE
*
* @mbg.generated
*/
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pwc.taxtech.atms.vat.dao.GlBalanceMapper">
<resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.GlBalance">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<result column="ID" jdbcType="DECIMAL" property="id" />
<result column="CODE_COMBINATION_ID" jdbcType="DECIMAL" property="codeCombinationId" />
<result column="CODE_COMBINATION_CODE" jdbcType="VARCHAR" property="codeCombinationCode" />
<result column="CODE_COMBINATION_DESCRIPTION" jdbcType="VARCHAR" property="codeCombinationDescription" />
<result column="ATTRIBUTE12" jdbcType="VARCHAR" property="attribute12" />
<result column="SEGMENT1" jdbcType="VARCHAR" property="segment1" />
<result column="SEGMENT2" jdbcType="VARCHAR" property="segment2" />
<result column="SEGMENT3" jdbcType="VARCHAR" property="segment3" />
<result column="SEGMENT4" jdbcType="VARCHAR" property="segment4" />
<result column="SEGMENT5" jdbcType="VARCHAR" property="segment5" />
<result column="SEGMENT6" jdbcType="VARCHAR" property="segment6" />
<result column="SEGMENT7" jdbcType="VARCHAR" property="segment7" />
<result column="PERIOD_NAME" jdbcType="VARCHAR" property="periodName" />
<result column="BEGIN_DR_BALANCE" jdbcType="DECIMAL" property="beginDrBalance" />
<result column="BEGIN_CR_BALANCE" jdbcType="DECIMAL" property="beginCrBalance" />
<result column="PTD_DR" jdbcType="DECIMAL" property="ptdDr" />
<result column="PTD_CR" jdbcType="DECIMAL" property="ptdCr" />
<result column="YTD_DR" jdbcType="DECIMAL" property="ytdDr" />
<result column="YTD_CR" jdbcType="DECIMAL" property="ytdCr" />
<result column="END_DR_BALANCE" jdbcType="DECIMAL" property="endDrBalance" />
<result column="END_CR_BALANCE" jdbcType="DECIMAL" property="endCrBalance" />
<result column="ATTR1" jdbcType="VARCHAR" property="attr1" />
<result column="ATTR2" jdbcType="VARCHAR" property="attr2" />
<result column="ATTR3" jdbcType="VARCHAR" property="attr3" />
<result column="ATTR4" jdbcType="VARCHAR" property="attr4" />
<result column="ATTR5" jdbcType="VARCHAR" property="attr5" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach collection="example.oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
ID, CODE_COMBINATION_ID, CODE_COMBINATION_CODE, CODE_COMBINATION_DESCRIPTION, ATTRIBUTE12,
SEGMENT1, SEGMENT2, SEGMENT3, SEGMENT4, SEGMENT5, SEGMENT6, SEGMENT7, PERIOD_NAME,
BEGIN_DR_BALANCE, BEGIN_CR_BALANCE, PTD_DR, PTD_CR, YTD_DR, YTD_CR, END_DR_BALANCE,
END_CR_BALANCE, ATTR1, ATTR2, ATTR3, ATTR4, ATTR5
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.GlBalanceExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from GL_BALANCE
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.GlBalanceExample">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from GL_BALANCE
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.GlBalance">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into GL_BALANCE (ID, CODE_COMBINATION_ID, CODE_COMBINATION_CODE,
CODE_COMBINATION_DESCRIPTION, ATTRIBUTE12,
SEGMENT1, SEGMENT2, SEGMENT3,
SEGMENT4, SEGMENT5, SEGMENT6,
SEGMENT7, PERIOD_NAME, BEGIN_DR_BALANCE,
BEGIN_CR_BALANCE, PTD_DR, PTD_CR,
YTD_DR, YTD_CR, END_DR_BALANCE,
END_CR_BALANCE, ATTR1, ATTR2,
ATTR3, ATTR4, ATTR5
)
values (#{id,jdbcType=DECIMAL}, #{codeCombinationId,jdbcType=DECIMAL}, #{codeCombinationCode,jdbcType=VARCHAR},
#{codeCombinationDescription,jdbcType=VARCHAR}, #{attribute12,jdbcType=VARCHAR},
#{segment1,jdbcType=VARCHAR}, #{segment2,jdbcType=VARCHAR}, #{segment3,jdbcType=VARCHAR},
#{segment4,jdbcType=VARCHAR}, #{segment5,jdbcType=VARCHAR}, #{segment6,jdbcType=VARCHAR},
#{segment7,jdbcType=VARCHAR}, #{periodName,jdbcType=VARCHAR}, #{beginDrBalance,jdbcType=DECIMAL},
#{beginCrBalance,jdbcType=DECIMAL}, #{ptdDr,jdbcType=DECIMAL}, #{ptdCr,jdbcType=DECIMAL},
#{ytdDr,jdbcType=DECIMAL}, #{ytdCr,jdbcType=DECIMAL}, #{endDrBalance,jdbcType=DECIMAL},
#{endCrBalance,jdbcType=DECIMAL}, #{attr1,jdbcType=VARCHAR}, #{attr2,jdbcType=VARCHAR},
#{attr3,jdbcType=VARCHAR}, #{attr4,jdbcType=VARCHAR}, #{attr5,jdbcType=VARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.GlBalance">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into GL_BALANCE
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
ID,
</if>
<if test="codeCombinationId != null">
CODE_COMBINATION_ID,
</if>
<if test="codeCombinationCode != null">
CODE_COMBINATION_CODE,
</if>
<if test="codeCombinationDescription != null">
CODE_COMBINATION_DESCRIPTION,
</if>
<if test="attribute12 != null">
ATTRIBUTE12,
</if>
<if test="segment1 != null">
SEGMENT1,
</if>
<if test="segment2 != null">
SEGMENT2,
</if>
<if test="segment3 != null">
SEGMENT3,
</if>
<if test="segment4 != null">
SEGMENT4,
</if>
<if test="segment5 != null">
SEGMENT5,
</if>
<if test="segment6 != null">
SEGMENT6,
</if>
<if test="segment7 != null">
SEGMENT7,
</if>
<if test="periodName != null">
PERIOD_NAME,
</if>
<if test="beginDrBalance != null">
BEGIN_DR_BALANCE,
</if>
<if test="beginCrBalance != null">
BEGIN_CR_BALANCE,
</if>
<if test="ptdDr != null">
PTD_DR,
</if>
<if test="ptdCr != null">
PTD_CR,
</if>
<if test="ytdDr != null">
YTD_DR,
</if>
<if test="ytdCr != null">
YTD_CR,
</if>
<if test="endDrBalance != null">
END_DR_BALANCE,
</if>
<if test="endCrBalance != null">
END_CR_BALANCE,
</if>
<if test="attr1 != null">
ATTR1,
</if>
<if test="attr2 != null">
ATTR2,
</if>
<if test="attr3 != null">
ATTR3,
</if>
<if test="attr4 != null">
ATTR4,
</if>
<if test="attr5 != null">
ATTR5,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=DECIMAL},
</if>
<if test="codeCombinationId != null">
#{codeCombinationId,jdbcType=DECIMAL},
</if>
<if test="codeCombinationCode != null">
#{codeCombinationCode,jdbcType=VARCHAR},
</if>
<if test="codeCombinationDescription != null">
#{codeCombinationDescription,jdbcType=VARCHAR},
</if>
<if test="attribute12 != null">
#{attribute12,jdbcType=VARCHAR},
</if>
<if test="segment1 != null">
#{segment1,jdbcType=VARCHAR},
</if>
<if test="segment2 != null">
#{segment2,jdbcType=VARCHAR},
</if>
<if test="segment3 != null">
#{segment3,jdbcType=VARCHAR},
</if>
<if test="segment4 != null">
#{segment4,jdbcType=VARCHAR},
</if>
<if test="segment5 != null">
#{segment5,jdbcType=VARCHAR},
</if>
<if test="segment6 != null">
#{segment6,jdbcType=VARCHAR},
</if>
<if test="segment7 != null">
#{segment7,jdbcType=VARCHAR},
</if>
<if test="periodName != null">
#{periodName,jdbcType=VARCHAR},
</if>
<if test="beginDrBalance != null">
#{beginDrBalance,jdbcType=DECIMAL},
</if>
<if test="beginCrBalance != null">
#{beginCrBalance,jdbcType=DECIMAL},
</if>
<if test="ptdDr != null">
#{ptdDr,jdbcType=DECIMAL},
</if>
<if test="ptdCr != null">
#{ptdCr,jdbcType=DECIMAL},
</if>
<if test="ytdDr != null">
#{ytdDr,jdbcType=DECIMAL},
</if>
<if test="ytdCr != null">
#{ytdCr,jdbcType=DECIMAL},
</if>
<if test="endDrBalance != null">
#{endDrBalance,jdbcType=DECIMAL},
</if>
<if test="endCrBalance != null">
#{endCrBalance,jdbcType=DECIMAL},
</if>
<if test="attr1 != null">
#{attr1,jdbcType=VARCHAR},
</if>
<if test="attr2 != null">
#{attr2,jdbcType=VARCHAR},
</if>
<if test="attr3 != null">
#{attr3,jdbcType=VARCHAR},
</if>
<if test="attr4 != null">
#{attr4,jdbcType=VARCHAR},
</if>
<if test="attr5 != null">
#{attr5,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.GlBalanceExample" resultType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from GL_BALANCE
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update GL_BALANCE
<set>
<if test="record.id != null">
ID = #{record.id,jdbcType=DECIMAL},
</if>
<if test="record.codeCombinationId != null">
CODE_COMBINATION_ID = #{record.codeCombinationId,jdbcType=DECIMAL},
</if>
<if test="record.codeCombinationCode != null">
CODE_COMBINATION_CODE = #{record.codeCombinationCode,jdbcType=VARCHAR},
</if>
<if test="record.codeCombinationDescription != null">
CODE_COMBINATION_DESCRIPTION = #{record.codeCombinationDescription,jdbcType=VARCHAR},
</if>
<if test="record.attribute12 != null">
ATTRIBUTE12 = #{record.attribute12,jdbcType=VARCHAR},
</if>
<if test="record.segment1 != null">
SEGMENT1 = #{record.segment1,jdbcType=VARCHAR},
</if>
<if test="record.segment2 != null">
SEGMENT2 = #{record.segment2,jdbcType=VARCHAR},
</if>
<if test="record.segment3 != null">
SEGMENT3 = #{record.segment3,jdbcType=VARCHAR},
</if>
<if test="record.segment4 != null">
SEGMENT4 = #{record.segment4,jdbcType=VARCHAR},
</if>
<if test="record.segment5 != null">
SEGMENT5 = #{record.segment5,jdbcType=VARCHAR},
</if>
<if test="record.segment6 != null">
SEGMENT6 = #{record.segment6,jdbcType=VARCHAR},
</if>
<if test="record.segment7 != null">
SEGMENT7 = #{record.segment7,jdbcType=VARCHAR},
</if>
<if test="record.periodName != null">
PERIOD_NAME = #{record.periodName,jdbcType=VARCHAR},
</if>
<if test="record.beginDrBalance != null">
BEGIN_DR_BALANCE = #{record.beginDrBalance,jdbcType=DECIMAL},
</if>
<if test="record.beginCrBalance != null">
BEGIN_CR_BALANCE = #{record.beginCrBalance,jdbcType=DECIMAL},
</if>
<if test="record.ptdDr != null">
PTD_DR = #{record.ptdDr,jdbcType=DECIMAL},
</if>
<if test="record.ptdCr != null">
PTD_CR = #{record.ptdCr,jdbcType=DECIMAL},
</if>
<if test="record.ytdDr != null">
YTD_DR = #{record.ytdDr,jdbcType=DECIMAL},
</if>
<if test="record.ytdCr != null">
YTD_CR = #{record.ytdCr,jdbcType=DECIMAL},
</if>
<if test="record.endDrBalance != null">
END_DR_BALANCE = #{record.endDrBalance,jdbcType=DECIMAL},
</if>
<if test="record.endCrBalance != null">
END_CR_BALANCE = #{record.endCrBalance,jdbcType=DECIMAL},
</if>
<if test="record.attr1 != null">
ATTR1 = #{record.attr1,jdbcType=VARCHAR},
</if>
<if test="record.attr2 != null">
ATTR2 = #{record.attr2,jdbcType=VARCHAR},
</if>
<if test="record.attr3 != null">
ATTR3 = #{record.attr3,jdbcType=VARCHAR},
</if>
<if test="record.attr4 != null">
ATTR4 = #{record.attr4,jdbcType=VARCHAR},
</if>
<if test="record.attr5 != null">
ATTR5 = #{record.attr5,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update GL_BALANCE
set ID = #{record.id,jdbcType=DECIMAL},
CODE_COMBINATION_ID = #{record.codeCombinationId,jdbcType=DECIMAL},
CODE_COMBINATION_CODE = #{record.codeCombinationCode,jdbcType=VARCHAR},
CODE_COMBINATION_DESCRIPTION = #{record.codeCombinationDescription,jdbcType=VARCHAR},
ATTRIBUTE12 = #{record.attribute12,jdbcType=VARCHAR},
SEGMENT1 = #{record.segment1,jdbcType=VARCHAR},
SEGMENT2 = #{record.segment2,jdbcType=VARCHAR},
SEGMENT3 = #{record.segment3,jdbcType=VARCHAR},
SEGMENT4 = #{record.segment4,jdbcType=VARCHAR},
SEGMENT5 = #{record.segment5,jdbcType=VARCHAR},
SEGMENT6 = #{record.segment6,jdbcType=VARCHAR},
SEGMENT7 = #{record.segment7,jdbcType=VARCHAR},
PERIOD_NAME = #{record.periodName,jdbcType=VARCHAR},
BEGIN_DR_BALANCE = #{record.beginDrBalance,jdbcType=DECIMAL},
BEGIN_CR_BALANCE = #{record.beginCrBalance,jdbcType=DECIMAL},
PTD_DR = #{record.ptdDr,jdbcType=DECIMAL},
PTD_CR = #{record.ptdCr,jdbcType=DECIMAL},
YTD_DR = #{record.ytdDr,jdbcType=DECIMAL},
YTD_CR = #{record.ytdCr,jdbcType=DECIMAL},
END_DR_BALANCE = #{record.endDrBalance,jdbcType=DECIMAL},
END_CR_BALANCE = #{record.endCrBalance,jdbcType=DECIMAL},
ATTR1 = #{record.attr1,jdbcType=VARCHAR},
ATTR2 = #{record.attr2,jdbcType=VARCHAR},
ATTR3 = #{record.attr3,jdbcType=VARCHAR},
ATTR4 = #{record.attr4,jdbcType=VARCHAR},
ATTR5 = #{record.attr5,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
</mapper>
\ No newline at end of file
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