Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
f6e95b16
Commit
f6e95b16
authored
Feb 20, 2019
by
eddie.woo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
68f705b9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
3478 additions
and
15 deletions
+3478
-15
pom.xml
atms-api/pom.xml
+0
-7
RevenueConfEnum.java
...java/pwc/taxtech/atms/constant/enums/RevenueConfEnum.java
+164
-0
CashFlowHeader.java
...c/taxtech/atms/dto/vatdto/excelheader/CashFlowHeader.java
+56
-5
job.properties
atms-api/src/main/resources/job.properties
+1
-1
vatGeneratorConfig.xml
atms-dao/etc/generator-mysql/vatGeneratorConfig.xml
+12
-2
RevenueConfigMapper.java
...in/java/pwc/taxtech/atms/vat/dao/RevenueConfigMapper.java
+109
-0
RevenueConfig.java
.../main/java/pwc/taxtech/atms/vat/entity/RevenueConfig.java
+822
-0
RevenueConfigExample.java
...ava/pwc/taxtech/atms/vat/entity/RevenueConfigExample.java
+1755
-0
RevenueConfigMapper.xml
...esources/pwc/taxtech/atms/vat/dao/RevenueConfigMapper.xml
+559
-0
No files found.
atms-api/pom.xml
View file @
f6e95b16
...
...
@@ -415,13 +415,6 @@
<artifactId>
jxls-core
</artifactId>
<version>
1.0.6
</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<version>
1.18.0
</version>
<scope>
provided
</scope>
</dependency>
</dependencies>
...
...
atms-api/src/main/java/pwc/taxtech/atms/constant/enums/RevenueConfEnum.java
0 → 100644
View file @
f6e95b16
package
pwc
.
taxtech
.
atms
.
constant
.
enums
;
import
java.util.HashMap
;
import
java.util.Map
;
public
class
RevenueConfEnum
{
/**
* 账载收入类型
*/
public
enum
AccountType
{
Zero
(
0
,
"0值"
),
Account
(
1
,
"科目"
),
Manual
(
2
,
"手工录入"
);
private
Integer
code
;
private
String
name
;
public
static
final
Map
<
Integer
,
String
>
MAPPING
=
new
HashMap
<>();
AccountType
(
Integer
code
,
String
name
)
{
this
.
code
=
code
;
this
.
name
=
name
;
}
public
Integer
getCode
()
{
return
code
;
}
public
String
getName
()
{
return
name
;
}
static
{
for
(
RevenueConfEnum
.
AccountType
accountType
:
RevenueConfEnum
.
AccountType
.
values
())
{
MAPPING
.
put
(
accountType
.
getCode
(),
accountType
.
getName
());
}
}
}
/**
* 账载收入类型
*/
public
enum
TaxBase
{
Account
(
1
,
"账载"
),
Invoice
(
2
,
"开票收入"
),
Manual
(
3
,
"手工录入"
),
Period_Dr
(
4
,
"借方发生额"
),
Period_Cr
(
5
,
"贷方发生额"
);
private
Integer
code
;
private
String
name
;
public
static
final
Map
<
Integer
,
String
>
MAPPING
=
new
HashMap
<>();
TaxBase
(
Integer
code
,
String
name
)
{
this
.
code
=
code
;
this
.
name
=
name
;
}
public
Integer
getCode
()
{
return
code
;
}
public
String
getName
()
{
return
name
;
}
static
{
for
(
RevenueConfEnum
.
TaxBase
taxBase
:
RevenueConfEnum
.
TaxBase
.
values
())
{
MAPPING
.
put
(
taxBase
.
getCode
(),
taxBase
.
getName
());
}
}
}
/**
* 计税方法
*/
public
enum
TaxType
{
Common
(
0
,
"一般计税"
),
Simple
(
1
,
"简易计税"
),
Tax_Exemption
(
2
,
"免抵退税"
),
Free
(
3
,
"免税"
);
private
Integer
code
;
private
String
name
;
public
static
final
Map
<
Integer
,
String
>
MAPPING
=
new
HashMap
<>();
TaxType
(
Integer
code
,
String
name
)
{
this
.
code
=
code
;
this
.
name
=
name
;
}
public
Integer
getCode
()
{
return
code
;
}
public
String
getName
()
{
return
name
;
}
static
{
for
(
RevenueConfEnum
.
TaxType
taxType
:
RevenueConfEnum
.
TaxType
.
values
())
{
MAPPING
.
put
(
taxType
.
getCode
(),
taxType
.
getName
());
}
}
}
/**
* 收入类型
*/
public
enum
RevenueType
{
Service
(
0
,
"货物及加工修理修配劳务"
),
Assets
(
1
,
"服务、不动产和无形资产"
);
private
Integer
code
;
private
String
name
;
public
static
final
Map
<
Integer
,
String
>
MAPPING
=
new
HashMap
<>();
RevenueType
(
Integer
code
,
String
name
)
{
this
.
code
=
code
;
this
.
name
=
name
;
}
public
Integer
getCode
()
{
return
code
;
}
public
String
getName
()
{
return
name
;
}
static
{
for
(
RevenueConfEnum
.
RevenueType
revenueType
:
RevenueConfEnum
.
RevenueType
.
values
())
{
MAPPING
.
put
(
revenueType
.
getCode
(),
revenueType
.
getName
());
}
}
}
/**
* 状态
*/
public
enum
Status
{
Enable
(
0
,
"启用"
),
Disable
(
1
,
"停用"
);
private
Integer
code
;
private
String
name
;
public
static
final
Map
<
Integer
,
String
>
MAPPING
=
new
HashMap
<>();
Status
(
Integer
code
,
String
name
)
{
this
.
code
=
code
;
this
.
name
=
name
;
}
public
Integer
getCode
()
{
return
code
;
}
public
String
getName
()
{
return
name
;
}
static
{
for
(
RevenueConfEnum
.
Status
status
:
RevenueConfEnum
.
Status
.
values
())
{
MAPPING
.
put
(
status
.
getCode
(),
status
.
getName
());
}
}
}
}
atms-api/src/main/java/pwc/taxtech/atms/dto/vatdto/excelheader/CashFlowHeader.java
View file @
f6e95b16
package
pwc
.
taxtech
.
atms
.
dto
.
vatdto
.
excelheader
;
import
lombok.Getter
;
import
lombok.Setter
;
@Getter
@Setter
public
class
CashFlowHeader
{
private
String
companyNameCn
;
private
String
companyNameEn
;
...
...
@@ -13,4 +8,60 @@ public class CashFlowHeader {
private
String
ledgerName
;
private
String
ledgerCurrencyCode
;
private
String
status
;
public
String
getCompanyNameCn
()
{
return
this
.
companyNameCn
;
}
public
void
setCompanyNameCn
(
String
companyNameCn
)
{
this
.
companyNameCn
=
companyNameCn
;
}
public
String
getCompanyNameEn
()
{
return
this
.
companyNameEn
;
}
public
void
setCompanyNameEn
(
String
companyNameEn
)
{
this
.
companyNameEn
=
companyNameEn
;
}
public
Integer
getPeriodStart
()
{
return
this
.
periodStart
;
}
public
void
setPeriodStart
(
Integer
periodStart
)
{
this
.
periodStart
=
periodStart
;
}
public
Integer
getPeriodEnd
()
{
return
this
.
periodEnd
;
}
public
void
setPeriodEnd
(
Integer
periodEnd
)
{
this
.
periodEnd
=
periodEnd
;
}
public
String
getLedgerName
()
{
return
this
.
ledgerName
;
}
public
void
setLedgerName
(
String
ledgerName
)
{
this
.
ledgerName
=
ledgerName
;
}
public
String
getLedgerCurrencyCode
()
{
return
this
.
ledgerCurrencyCode
;
}
public
void
setLedgerCurrencyCode
(
String
ledgerCurrencyCode
)
{
this
.
ledgerCurrencyCode
=
ledgerCurrencyCode
;
}
public
String
getStatus
()
{
return
this
.
status
;
}
public
void
setStatus
(
String
status
)
{
this
.
status
=
status
;
}
}
atms-api/src/main/resources/job.properties
View file @
f6e95b16
...
...
@@ -6,7 +6,7 @@
org.quartz.jobStore.useProperties
=
true
org.quartz.jobStore.tablePrefix
=
QRTZ_
org.quartz.jobStore.isClustered
=
true
org.quartz.jobStore.clusterCheckinInterval
=
5
000
org.quartz.jobStore.clusterCheckinInterval
=
60
000
org.quartz.jobStore.misfireThreshold
=
60000
org.quartz.jobStore.txIsolationLevelReadCommitted
=
true
...
...
atms-dao/etc/generator-mysql/vatGeneratorConfig.xml
View file @
f6e95b16
...
...
@@ -41,12 +41,22 @@
<property
name=
"rootInterface"
value=
"pwc.taxtech.atms.MyVatMapper"
/>
</javaClientGenerator>
<table
tableName=
"
invoice_data"
domainObjectName=
"InvoiceData
"
>
<table
tableName=
"
revenue_config"
domainObjectName=
"RevenueConfig
"
>
<property
name=
"useActualColumnNames"
value=
"false"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"count_type"
javaType=
"java.lang.Integer"
jdbcType=
"TINYINT"
/>
<columnOverride
column=
"account_type"
javaType=
"java.lang.Integer"
jdbcType=
"TINYINT"
/>
<columnOverride
column=
"tax_base"
javaType=
"java.lang.Integer"
jdbcType=
"TINYINT"
/>
<columnOverride
column=
"revenue_type"
javaType=
"java.lang.Integer"
jdbcType=
"TINYINT"
/>
<columnOverride
column=
"tax_type"
javaType=
"java.lang.Integer"
jdbcType=
"TINYINT"
/>
<columnOverride
column=
"status"
javaType=
"java.lang.Integer"
jdbcType=
"TINYINT"
/>
</table>
<!--<table tableName="invoice_data" domainObjectName="InvoiceData">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="count_type" javaType="java.lang.Integer" jdbcType="TINYINT"/>-->
<!--</table>-->
<!--<table tableName="coupa_purchasing_report" domainObjectName="CoupaPurchasingReport">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
...
...
atms-dao/src/main/java/pwc/taxtech/atms/vat/dao/RevenueConfigMapper.java
0 → 100644
View file @
f6e95b16
package
pwc
.
taxtech
.
atms
.
vat
.
dao
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.session.RowBounds
;
import
pwc.taxtech.atms.MyVatMapper
;
import
pwc.taxtech.atms.vat.entity.RevenueConfig
;
import
pwc.taxtech.atms.vat.entity.RevenueConfigExample
;
@Mapper
public
interface
RevenueConfigMapper
extends
MyVatMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
long
countByExample
(
RevenueConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
int
deleteByExample
(
RevenueConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
int
insert
(
RevenueConfig
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
int
insertSelective
(
RevenueConfig
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
List
<
RevenueConfig
>
selectByExampleWithRowbounds
(
RevenueConfigExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
List
<
RevenueConfig
>
selectByExample
(
RevenueConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
RevenueConfig
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
RevenueConfig
record
,
@Param
(
"example"
)
RevenueConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
RevenueConfig
record
,
@Param
(
"example"
)
RevenueConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
RevenueConfig
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
RevenueConfig
record
);
}
\ No newline at end of file
atms-dao/src/main/java/pwc/taxtech/atms/vat/entity/RevenueConfig.java
0 → 100644
View file @
f6e95b16
package
pwc
.
taxtech
.
atms
.
vat
.
entity
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
pwc.taxtech.atms.entity.BaseEntity
;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table revenue_config
*
* @mbg.generated do_not_delete_during_merge
*/
public
class
RevenueConfig
extends
BaseEntity
implements
Serializable
{
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.id
*
* @mbg.generated
*/
private
Long
id
;
/**
* Database Column Remarks:
* 序号
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.serial_no
*
* @mbg.generated
*/
private
String
serialNo
;
/**
* Database Column Remarks:
* 收入类型名称
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.name
*
* @mbg.generated
*/
private
String
name
;
/**
* Database Column Remarks:
* 机构ID
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.org_id
*
* @mbg.generated
*/
private
String
orgId
;
/**
* Database Column Remarks:
* 账载收入类型 0.0值 1.科目 2.手工输入
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.account_type
*
* @mbg.generated
*/
private
Integer
accountType
;
/**
* Database Column Remarks:
* 账载收入名称
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.account_name
*
* @mbg.generated
*/
private
String
accountName
;
/**
* Database Column Remarks:
* 税率
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.tax_rate
*
* @mbg.generated
*/
private
BigDecimal
taxRate
;
/**
* Database Column Remarks:
* 计税基础 1.账载 2.开票收入 3.手工录入 4.借方发生额 5.贷方发生额
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.tax_base
*
* @mbg.generated
*/
private
Integer
taxBase
;
/**
* Database Column Remarks:
* 收入类型 0.货物及加工修理修配劳务 1.服务、不动产和无形资产
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.revenue_type
*
* @mbg.generated
*/
private
Integer
revenueType
;
/**
* Database Column Remarks:
* 计税方法 0.一般计税 1.简易计税 2.免抵退税 3.免税
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.tax_type
*
* @mbg.generated
*/
private
Integer
taxType
;
/**
* Database Column Remarks:
* 状态 0:启用 1:停用
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.status
*
* @mbg.generated
*/
private
Integer
status
;
/**
* Database Column Remarks:
* 启用日期
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.start_date
*
* @mbg.generated
*/
private
String
startDate
;
/**
* Database Column Remarks:
* 终止日期
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.end_date
*
* @mbg.generated
*/
private
String
endDate
;
/**
* Database Column Remarks:
* 账载科目代码
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.tb_segment3
*
* @mbg.generated
*/
private
String
tbSegment3
;
/**
* Database Column Remarks:
* 账载利润中心代码
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.tb_segment5
*
* @mbg.generated
*/
private
String
tbSegment5
;
/**
* Database Column Remarks:
* 账载产品代码
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.tb_segment6
*
* @mbg.generated
*/
private
String
tbSegment6
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.update_time
*
* @mbg.generated
*/
private
Date
updateTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.create_time
*
* @mbg.generated
*/
private
Date
createTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.update_by
*
* @mbg.generated
*/
private
String
updateBy
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.create_by
*
* @mbg.generated
*/
private
String
createBy
;
/**
* Database Column Remarks:
* 计税基础贷方发生额Code
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.base_cr_code
*
* @mbg.generated
*/
private
String
baseCrCode
;
/**
* Database Column Remarks:
* 计税基础借方发生额Code
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_config.base_dr_code
*
* @mbg.generated
*/
private
String
baseDrCode
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table revenue_config
*
* @mbg.generated
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.id
*
* @return the value of revenue_config.id
*
* @mbg.generated
*/
public
Long
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.id
*
* @param id the value for revenue_config.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 revenue_config.serial_no
*
* @return the value of revenue_config.serial_no
*
* @mbg.generated
*/
public
String
getSerialNo
()
{
return
serialNo
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.serial_no
*
* @param serialNo the value for revenue_config.serial_no
*
* @mbg.generated
*/
public
void
setSerialNo
(
String
serialNo
)
{
this
.
serialNo
=
serialNo
==
null
?
null
:
serialNo
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.name
*
* @return the value of revenue_config.name
*
* @mbg.generated
*/
public
String
getName
()
{
return
name
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.name
*
* @param name the value for revenue_config.name
*
* @mbg.generated
*/
public
void
setName
(
String
name
)
{
this
.
name
=
name
==
null
?
null
:
name
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.org_id
*
* @return the value of revenue_config.org_id
*
* @mbg.generated
*/
public
String
getOrgId
()
{
return
orgId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.org_id
*
* @param orgId the value for revenue_config.org_id
*
* @mbg.generated
*/
public
void
setOrgId
(
String
orgId
)
{
this
.
orgId
=
orgId
==
null
?
null
:
orgId
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.account_type
*
* @return the value of revenue_config.account_type
*
* @mbg.generated
*/
public
Integer
getAccountType
()
{
return
accountType
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.account_type
*
* @param accountType the value for revenue_config.account_type
*
* @mbg.generated
*/
public
void
setAccountType
(
Integer
accountType
)
{
this
.
accountType
=
accountType
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.account_name
*
* @return the value of revenue_config.account_name
*
* @mbg.generated
*/
public
String
getAccountName
()
{
return
accountName
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.account_name
*
* @param accountName the value for revenue_config.account_name
*
* @mbg.generated
*/
public
void
setAccountName
(
String
accountName
)
{
this
.
accountName
=
accountName
==
null
?
null
:
accountName
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.tax_rate
*
* @return the value of revenue_config.tax_rate
*
* @mbg.generated
*/
public
BigDecimal
getTaxRate
()
{
return
taxRate
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.tax_rate
*
* @param taxRate the value for revenue_config.tax_rate
*
* @mbg.generated
*/
public
void
setTaxRate
(
BigDecimal
taxRate
)
{
this
.
taxRate
=
taxRate
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.tax_base
*
* @return the value of revenue_config.tax_base
*
* @mbg.generated
*/
public
Integer
getTaxBase
()
{
return
taxBase
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.tax_base
*
* @param taxBase the value for revenue_config.tax_base
*
* @mbg.generated
*/
public
void
setTaxBase
(
Integer
taxBase
)
{
this
.
taxBase
=
taxBase
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.revenue_type
*
* @return the value of revenue_config.revenue_type
*
* @mbg.generated
*/
public
Integer
getRevenueType
()
{
return
revenueType
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.revenue_type
*
* @param revenueType the value for revenue_config.revenue_type
*
* @mbg.generated
*/
public
void
setRevenueType
(
Integer
revenueType
)
{
this
.
revenueType
=
revenueType
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.tax_type
*
* @return the value of revenue_config.tax_type
*
* @mbg.generated
*/
public
Integer
getTaxType
()
{
return
taxType
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.tax_type
*
* @param taxType the value for revenue_config.tax_type
*
* @mbg.generated
*/
public
void
setTaxType
(
Integer
taxType
)
{
this
.
taxType
=
taxType
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.status
*
* @return the value of revenue_config.status
*
* @mbg.generated
*/
public
Integer
getStatus
()
{
return
status
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.status
*
* @param status the value for revenue_config.status
*
* @mbg.generated
*/
public
void
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.start_date
*
* @return the value of revenue_config.start_date
*
* @mbg.generated
*/
public
String
getStartDate
()
{
return
startDate
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.start_date
*
* @param startDate the value for revenue_config.start_date
*
* @mbg.generated
*/
public
void
setStartDate
(
String
startDate
)
{
this
.
startDate
=
startDate
==
null
?
null
:
startDate
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.end_date
*
* @return the value of revenue_config.end_date
*
* @mbg.generated
*/
public
String
getEndDate
()
{
return
endDate
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.end_date
*
* @param endDate the value for revenue_config.end_date
*
* @mbg.generated
*/
public
void
setEndDate
(
String
endDate
)
{
this
.
endDate
=
endDate
==
null
?
null
:
endDate
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.tb_segment3
*
* @return the value of revenue_config.tb_segment3
*
* @mbg.generated
*/
public
String
getTbSegment3
()
{
return
tbSegment3
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.tb_segment3
*
* @param tbSegment3 the value for revenue_config.tb_segment3
*
* @mbg.generated
*/
public
void
setTbSegment3
(
String
tbSegment3
)
{
this
.
tbSegment3
=
tbSegment3
==
null
?
null
:
tbSegment3
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.tb_segment5
*
* @return the value of revenue_config.tb_segment5
*
* @mbg.generated
*/
public
String
getTbSegment5
()
{
return
tbSegment5
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.tb_segment5
*
* @param tbSegment5 the value for revenue_config.tb_segment5
*
* @mbg.generated
*/
public
void
setTbSegment5
(
String
tbSegment5
)
{
this
.
tbSegment5
=
tbSegment5
==
null
?
null
:
tbSegment5
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.tb_segment6
*
* @return the value of revenue_config.tb_segment6
*
* @mbg.generated
*/
public
String
getTbSegment6
()
{
return
tbSegment6
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.tb_segment6
*
* @param tbSegment6 the value for revenue_config.tb_segment6
*
* @mbg.generated
*/
public
void
setTbSegment6
(
String
tbSegment6
)
{
this
.
tbSegment6
=
tbSegment6
==
null
?
null
:
tbSegment6
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.update_time
*
* @return the value of revenue_config.update_time
*
* @mbg.generated
*/
public
Date
getUpdateTime
()
{
return
updateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.update_time
*
* @param updateTime the value for revenue_config.update_time
*
* @mbg.generated
*/
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.create_time
*
* @return the value of revenue_config.create_time
*
* @mbg.generated
*/
public
Date
getCreateTime
()
{
return
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.create_time
*
* @param createTime the value for revenue_config.create_time
*
* @mbg.generated
*/
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.update_by
*
* @return the value of revenue_config.update_by
*
* @mbg.generated
*/
public
String
getUpdateBy
()
{
return
updateBy
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.update_by
*
* @param updateBy the value for revenue_config.update_by
*
* @mbg.generated
*/
public
void
setUpdateBy
(
String
updateBy
)
{
this
.
updateBy
=
updateBy
==
null
?
null
:
updateBy
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.create_by
*
* @return the value of revenue_config.create_by
*
* @mbg.generated
*/
public
String
getCreateBy
()
{
return
createBy
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.create_by
*
* @param createBy the value for revenue_config.create_by
*
* @mbg.generated
*/
public
void
setCreateBy
(
String
createBy
)
{
this
.
createBy
=
createBy
==
null
?
null
:
createBy
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.base_cr_code
*
* @return the value of revenue_config.base_cr_code
*
* @mbg.generated
*/
public
String
getBaseCrCode
()
{
return
baseCrCode
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.base_cr_code
*
* @param baseCrCode the value for revenue_config.base_cr_code
*
* @mbg.generated
*/
public
void
setBaseCrCode
(
String
baseCrCode
)
{
this
.
baseCrCode
=
baseCrCode
==
null
?
null
:
baseCrCode
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_config.base_dr_code
*
* @return the value of revenue_config.base_dr_code
*
* @mbg.generated
*/
public
String
getBaseDrCode
()
{
return
baseDrCode
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_config.base_dr_code
*
* @param baseDrCode the value for revenue_config.base_dr_code
*
* @mbg.generated
*/
public
void
setBaseDrCode
(
String
baseDrCode
)
{
this
.
baseDrCode
=
baseDrCode
==
null
?
null
:
baseDrCode
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @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
(
", serialNo="
).
append
(
serialNo
);
sb
.
append
(
", name="
).
append
(
name
);
sb
.
append
(
", orgId="
).
append
(
orgId
);
sb
.
append
(
", accountType="
).
append
(
accountType
);
sb
.
append
(
", accountName="
).
append
(
accountName
);
sb
.
append
(
", taxRate="
).
append
(
taxRate
);
sb
.
append
(
", taxBase="
).
append
(
taxBase
);
sb
.
append
(
", revenueType="
).
append
(
revenueType
);
sb
.
append
(
", taxType="
).
append
(
taxType
);
sb
.
append
(
", status="
).
append
(
status
);
sb
.
append
(
", startDate="
).
append
(
startDate
);
sb
.
append
(
", endDate="
).
append
(
endDate
);
sb
.
append
(
", tbSegment3="
).
append
(
tbSegment3
);
sb
.
append
(
", tbSegment5="
).
append
(
tbSegment5
);
sb
.
append
(
", tbSegment6="
).
append
(
tbSegment6
);
sb
.
append
(
", updateTime="
).
append
(
updateTime
);
sb
.
append
(
", createTime="
).
append
(
createTime
);
sb
.
append
(
", updateBy="
).
append
(
updateBy
);
sb
.
append
(
", createBy="
).
append
(
createBy
);
sb
.
append
(
", baseCrCode="
).
append
(
baseCrCode
);
sb
.
append
(
", baseDrCode="
).
append
(
baseDrCode
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
atms-dao/src/main/java/pwc/taxtech/atms/vat/entity/RevenueConfigExample.java
0 → 100644
View file @
f6e95b16
package
pwc
.
taxtech
.
atms
.
vat
.
entity
;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
RevenueConfigExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table revenue_config
*
* @mbg.generated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table revenue_config
*
* @mbg.generated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table revenue_config
*
* @mbg.generated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
public
RevenueConfigExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @mbg.generated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_config
*
* @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 revenue_config
*
* @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 revenue_config
*
* @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 revenue_config
*
* @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 revenue_config
*
* @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
andSerialNoIsNull
()
{
addCriterion
(
"serial_no is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerialNoIsNotNull
()
{
addCriterion
(
"serial_no is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerialNoEqualTo
(
String
value
)
{
addCriterion
(
"serial_no ="
,
value
,
"serialNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerialNoNotEqualTo
(
String
value
)
{
addCriterion
(
"serial_no <>"
,
value
,
"serialNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerialNoGreaterThan
(
String
value
)
{
addCriterion
(
"serial_no >"
,
value
,
"serialNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerialNoGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"serial_no >="
,
value
,
"serialNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerialNoLessThan
(
String
value
)
{
addCriterion
(
"serial_no <"
,
value
,
"serialNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerialNoLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"serial_no <="
,
value
,
"serialNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerialNoLike
(
String
value
)
{
addCriterion
(
"serial_no like"
,
value
,
"serialNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerialNoNotLike
(
String
value
)
{
addCriterion
(
"serial_no not like"
,
value
,
"serialNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerialNoIn
(
List
<
String
>
values
)
{
addCriterion
(
"serial_no in"
,
values
,
"serialNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerialNoNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"serial_no not in"
,
values
,
"serialNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerialNoBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"serial_no between"
,
value1
,
value2
,
"serialNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerialNoNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"serial_no not between"
,
value1
,
value2
,
"serialNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNull
()
{
addCriterion
(
"`name` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNotNull
()
{
addCriterion
(
"`name` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameEqualTo
(
String
value
)
{
addCriterion
(
"`name` ="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotEqualTo
(
String
value
)
{
addCriterion
(
"`name` <>"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThan
(
String
value
)
{
addCriterion
(
"`name` >"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"`name` >="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThan
(
String
value
)
{
addCriterion
(
"`name` <"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"`name` <="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLike
(
String
value
)
{
addCriterion
(
"`name` like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotLike
(
String
value
)
{
addCriterion
(
"`name` not like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"`name` in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"`name` not in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"`name` between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"`name` not between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdIsNull
()
{
addCriterion
(
"org_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdIsNotNull
()
{
addCriterion
(
"org_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdEqualTo
(
String
value
)
{
addCriterion
(
"org_id ="
,
value
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdNotEqualTo
(
String
value
)
{
addCriterion
(
"org_id <>"
,
value
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdGreaterThan
(
String
value
)
{
addCriterion
(
"org_id >"
,
value
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"org_id >="
,
value
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdLessThan
(
String
value
)
{
addCriterion
(
"org_id <"
,
value
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"org_id <="
,
value
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdLike
(
String
value
)
{
addCriterion
(
"org_id like"
,
value
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdNotLike
(
String
value
)
{
addCriterion
(
"org_id not like"
,
value
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"org_id in"
,
values
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"org_id not in"
,
values
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"org_id between"
,
value1
,
value2
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"org_id not between"
,
value1
,
value2
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountTypeIsNull
()
{
addCriterion
(
"account_type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountTypeIsNotNull
()
{
addCriterion
(
"account_type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountTypeEqualTo
(
Integer
value
)
{
addCriterion
(
"account_type ="
,
value
,
"accountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountTypeNotEqualTo
(
Integer
value
)
{
addCriterion
(
"account_type <>"
,
value
,
"accountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountTypeGreaterThan
(
Integer
value
)
{
addCriterion
(
"account_type >"
,
value
,
"accountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountTypeGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"account_type >="
,
value
,
"accountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountTypeLessThan
(
Integer
value
)
{
addCriterion
(
"account_type <"
,
value
,
"accountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountTypeLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"account_type <="
,
value
,
"accountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountTypeIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"account_type in"
,
values
,
"accountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountTypeNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"account_type not in"
,
values
,
"accountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountTypeBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"account_type between"
,
value1
,
value2
,
"accountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountTypeNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"account_type not between"
,
value1
,
value2
,
"accountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountNameIsNull
()
{
addCriterion
(
"account_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountNameIsNotNull
()
{
addCriterion
(
"account_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountNameEqualTo
(
String
value
)
{
addCriterion
(
"account_name ="
,
value
,
"accountName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountNameNotEqualTo
(
String
value
)
{
addCriterion
(
"account_name <>"
,
value
,
"accountName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountNameGreaterThan
(
String
value
)
{
addCriterion
(
"account_name >"
,
value
,
"accountName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"account_name >="
,
value
,
"accountName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountNameLessThan
(
String
value
)
{
addCriterion
(
"account_name <"
,
value
,
"accountName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"account_name <="
,
value
,
"accountName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountNameLike
(
String
value
)
{
addCriterion
(
"account_name like"
,
value
,
"accountName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountNameNotLike
(
String
value
)
{
addCriterion
(
"account_name not like"
,
value
,
"accountName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"account_name in"
,
values
,
"accountName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"account_name not in"
,
values
,
"accountName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"account_name between"
,
value1
,
value2
,
"accountName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"account_name not between"
,
value1
,
value2
,
"accountName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateIsNull
()
{
addCriterion
(
"tax_rate is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateIsNotNull
()
{
addCriterion
(
"tax_rate is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"tax_rate ="
,
value
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateNotEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"tax_rate <>"
,
value
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateGreaterThan
(
BigDecimal
value
)
{
addCriterion
(
"tax_rate >"
,
value
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateGreaterThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"tax_rate >="
,
value
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateLessThan
(
BigDecimal
value
)
{
addCriterion
(
"tax_rate <"
,
value
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateLessThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"tax_rate <="
,
value
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"tax_rate in"
,
values
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateNotIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"tax_rate not in"
,
values
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"tax_rate between"
,
value1
,
value2
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateNotBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"tax_rate not between"
,
value1
,
value2
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxBaseIsNull
()
{
addCriterion
(
"tax_base is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxBaseIsNotNull
()
{
addCriterion
(
"tax_base is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxBaseEqualTo
(
Integer
value
)
{
addCriterion
(
"tax_base ="
,
value
,
"taxBase"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxBaseNotEqualTo
(
Integer
value
)
{
addCriterion
(
"tax_base <>"
,
value
,
"taxBase"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxBaseGreaterThan
(
Integer
value
)
{
addCriterion
(
"tax_base >"
,
value
,
"taxBase"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxBaseGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"tax_base >="
,
value
,
"taxBase"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxBaseLessThan
(
Integer
value
)
{
addCriterion
(
"tax_base <"
,
value
,
"taxBase"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxBaseLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"tax_base <="
,
value
,
"taxBase"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxBaseIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"tax_base in"
,
values
,
"taxBase"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxBaseNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"tax_base not in"
,
values
,
"taxBase"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxBaseBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"tax_base between"
,
value1
,
value2
,
"taxBase"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxBaseNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"tax_base not between"
,
value1
,
value2
,
"taxBase"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRevenueTypeIsNull
()
{
addCriterion
(
"revenue_type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRevenueTypeIsNotNull
()
{
addCriterion
(
"revenue_type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRevenueTypeEqualTo
(
Integer
value
)
{
addCriterion
(
"revenue_type ="
,
value
,
"revenueType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRevenueTypeNotEqualTo
(
Integer
value
)
{
addCriterion
(
"revenue_type <>"
,
value
,
"revenueType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRevenueTypeGreaterThan
(
Integer
value
)
{
addCriterion
(
"revenue_type >"
,
value
,
"revenueType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRevenueTypeGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"revenue_type >="
,
value
,
"revenueType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRevenueTypeLessThan
(
Integer
value
)
{
addCriterion
(
"revenue_type <"
,
value
,
"revenueType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRevenueTypeLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"revenue_type <="
,
value
,
"revenueType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRevenueTypeIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"revenue_type in"
,
values
,
"revenueType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRevenueTypeNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"revenue_type not in"
,
values
,
"revenueType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRevenueTypeBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"revenue_type between"
,
value1
,
value2
,
"revenueType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRevenueTypeNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"revenue_type not between"
,
value1
,
value2
,
"revenueType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxTypeIsNull
()
{
addCriterion
(
"tax_type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxTypeIsNotNull
()
{
addCriterion
(
"tax_type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxTypeEqualTo
(
Integer
value
)
{
addCriterion
(
"tax_type ="
,
value
,
"taxType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxTypeNotEqualTo
(
Integer
value
)
{
addCriterion
(
"tax_type <>"
,
value
,
"taxType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxTypeGreaterThan
(
Integer
value
)
{
addCriterion
(
"tax_type >"
,
value
,
"taxType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxTypeGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"tax_type >="
,
value
,
"taxType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxTypeLessThan
(
Integer
value
)
{
addCriterion
(
"tax_type <"
,
value
,
"taxType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxTypeLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"tax_type <="
,
value
,
"taxType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxTypeIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"tax_type in"
,
values
,
"taxType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxTypeNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"tax_type not in"
,
values
,
"taxType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxTypeBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"tax_type between"
,
value1
,
value2
,
"taxType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxTypeNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"tax_type not between"
,
value1
,
value2
,
"taxType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNull
()
{
addCriterion
(
"`status` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNotNull
()
{
addCriterion
(
"`status` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusEqualTo
(
Integer
value
)
{
addCriterion
(
"`status` ="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotEqualTo
(
Integer
value
)
{
addCriterion
(
"`status` <>"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThan
(
Integer
value
)
{
addCriterion
(
"`status` >"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"`status` >="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThan
(
Integer
value
)
{
addCriterion
(
"`status` <"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"`status` <="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"`status` in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"`status` not in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"`status` between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"`status` not between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartDateIsNull
()
{
addCriterion
(
"start_date is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartDateIsNotNull
()
{
addCriterion
(
"start_date is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartDateEqualTo
(
String
value
)
{
addCriterion
(
"start_date ="
,
value
,
"startDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartDateNotEqualTo
(
String
value
)
{
addCriterion
(
"start_date <>"
,
value
,
"startDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartDateGreaterThan
(
String
value
)
{
addCriterion
(
"start_date >"
,
value
,
"startDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartDateGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"start_date >="
,
value
,
"startDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartDateLessThan
(
String
value
)
{
addCriterion
(
"start_date <"
,
value
,
"startDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartDateLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"start_date <="
,
value
,
"startDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartDateLike
(
String
value
)
{
addCriterion
(
"start_date like"
,
value
,
"startDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartDateNotLike
(
String
value
)
{
addCriterion
(
"start_date not like"
,
value
,
"startDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartDateIn
(
List
<
String
>
values
)
{
addCriterion
(
"start_date in"
,
values
,
"startDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartDateNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"start_date not in"
,
values
,
"startDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartDateBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"start_date between"
,
value1
,
value2
,
"startDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartDateNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"start_date not between"
,
value1
,
value2
,
"startDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndDateIsNull
()
{
addCriterion
(
"end_date is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndDateIsNotNull
()
{
addCriterion
(
"end_date is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndDateEqualTo
(
String
value
)
{
addCriterion
(
"end_date ="
,
value
,
"endDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndDateNotEqualTo
(
String
value
)
{
addCriterion
(
"end_date <>"
,
value
,
"endDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndDateGreaterThan
(
String
value
)
{
addCriterion
(
"end_date >"
,
value
,
"endDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndDateGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"end_date >="
,
value
,
"endDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndDateLessThan
(
String
value
)
{
addCriterion
(
"end_date <"
,
value
,
"endDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndDateLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"end_date <="
,
value
,
"endDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndDateLike
(
String
value
)
{
addCriterion
(
"end_date like"
,
value
,
"endDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndDateNotLike
(
String
value
)
{
addCriterion
(
"end_date not like"
,
value
,
"endDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndDateIn
(
List
<
String
>
values
)
{
addCriterion
(
"end_date in"
,
values
,
"endDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndDateNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"end_date not in"
,
values
,
"endDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndDateBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"end_date between"
,
value1
,
value2
,
"endDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndDateNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"end_date not between"
,
value1
,
value2
,
"endDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment3IsNull
()
{
addCriterion
(
"tb_segment3 is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment3IsNotNull
()
{
addCriterion
(
"tb_segment3 is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment3EqualTo
(
String
value
)
{
addCriterion
(
"tb_segment3 ="
,
value
,
"tbSegment3"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment3NotEqualTo
(
String
value
)
{
addCriterion
(
"tb_segment3 <>"
,
value
,
"tbSegment3"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment3GreaterThan
(
String
value
)
{
addCriterion
(
"tb_segment3 >"
,
value
,
"tbSegment3"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment3GreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"tb_segment3 >="
,
value
,
"tbSegment3"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment3LessThan
(
String
value
)
{
addCriterion
(
"tb_segment3 <"
,
value
,
"tbSegment3"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment3LessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"tb_segment3 <="
,
value
,
"tbSegment3"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment3Like
(
String
value
)
{
addCriterion
(
"tb_segment3 like"
,
value
,
"tbSegment3"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment3NotLike
(
String
value
)
{
addCriterion
(
"tb_segment3 not like"
,
value
,
"tbSegment3"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment3In
(
List
<
String
>
values
)
{
addCriterion
(
"tb_segment3 in"
,
values
,
"tbSegment3"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment3NotIn
(
List
<
String
>
values
)
{
addCriterion
(
"tb_segment3 not in"
,
values
,
"tbSegment3"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment3Between
(
String
value1
,
String
value2
)
{
addCriterion
(
"tb_segment3 between"
,
value1
,
value2
,
"tbSegment3"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment3NotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"tb_segment3 not between"
,
value1
,
value2
,
"tbSegment3"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment5IsNull
()
{
addCriterion
(
"tb_segment5 is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment5IsNotNull
()
{
addCriterion
(
"tb_segment5 is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment5EqualTo
(
String
value
)
{
addCriterion
(
"tb_segment5 ="
,
value
,
"tbSegment5"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment5NotEqualTo
(
String
value
)
{
addCriterion
(
"tb_segment5 <>"
,
value
,
"tbSegment5"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment5GreaterThan
(
String
value
)
{
addCriterion
(
"tb_segment5 >"
,
value
,
"tbSegment5"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment5GreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"tb_segment5 >="
,
value
,
"tbSegment5"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment5LessThan
(
String
value
)
{
addCriterion
(
"tb_segment5 <"
,
value
,
"tbSegment5"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment5LessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"tb_segment5 <="
,
value
,
"tbSegment5"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment5Like
(
String
value
)
{
addCriterion
(
"tb_segment5 like"
,
value
,
"tbSegment5"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment5NotLike
(
String
value
)
{
addCriterion
(
"tb_segment5 not like"
,
value
,
"tbSegment5"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment5In
(
List
<
String
>
values
)
{
addCriterion
(
"tb_segment5 in"
,
values
,
"tbSegment5"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment5NotIn
(
List
<
String
>
values
)
{
addCriterion
(
"tb_segment5 not in"
,
values
,
"tbSegment5"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment5Between
(
String
value1
,
String
value2
)
{
addCriterion
(
"tb_segment5 between"
,
value1
,
value2
,
"tbSegment5"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment5NotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"tb_segment5 not between"
,
value1
,
value2
,
"tbSegment5"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment6IsNull
()
{
addCriterion
(
"tb_segment6 is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment6IsNotNull
()
{
addCriterion
(
"tb_segment6 is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment6EqualTo
(
String
value
)
{
addCriterion
(
"tb_segment6 ="
,
value
,
"tbSegment6"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment6NotEqualTo
(
String
value
)
{
addCriterion
(
"tb_segment6 <>"
,
value
,
"tbSegment6"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment6GreaterThan
(
String
value
)
{
addCriterion
(
"tb_segment6 >"
,
value
,
"tbSegment6"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment6GreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"tb_segment6 >="
,
value
,
"tbSegment6"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment6LessThan
(
String
value
)
{
addCriterion
(
"tb_segment6 <"
,
value
,
"tbSegment6"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment6LessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"tb_segment6 <="
,
value
,
"tbSegment6"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment6Like
(
String
value
)
{
addCriterion
(
"tb_segment6 like"
,
value
,
"tbSegment6"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment6NotLike
(
String
value
)
{
addCriterion
(
"tb_segment6 not like"
,
value
,
"tbSegment6"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment6In
(
List
<
String
>
values
)
{
addCriterion
(
"tb_segment6 in"
,
values
,
"tbSegment6"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment6NotIn
(
List
<
String
>
values
)
{
addCriterion
(
"tb_segment6 not in"
,
values
,
"tbSegment6"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment6Between
(
String
value1
,
String
value2
)
{
addCriterion
(
"tb_segment6 between"
,
value1
,
value2
,
"tbSegment6"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbSegment6NotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"tb_segment6 not between"
,
value1
,
value2
,
"tbSegment6"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNull
()
{
addCriterion
(
"update_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNotNull
()
{
addCriterion
(
"update_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"update_time ="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"update_time <>"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"update_time >"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"update_time >="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"update_time <"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"update_time <="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"update_time in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"update_time not in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"update_time between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"update_time not between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"create_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"create_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIsNull
()
{
addCriterion
(
"update_by is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIsNotNull
()
{
addCriterion
(
"update_by is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByEqualTo
(
String
value
)
{
addCriterion
(
"update_by ="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotEqualTo
(
String
value
)
{
addCriterion
(
"update_by <>"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByGreaterThan
(
String
value
)
{
addCriterion
(
"update_by >"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"update_by >="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByLessThan
(
String
value
)
{
addCriterion
(
"update_by <"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"update_by <="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByLike
(
String
value
)
{
addCriterion
(
"update_by like"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotLike
(
String
value
)
{
addCriterion
(
"update_by not like"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIn
(
List
<
String
>
values
)
{
addCriterion
(
"update_by in"
,
values
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"update_by not in"
,
values
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"update_by between"
,
value1
,
value2
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"update_by not between"
,
value1
,
value2
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIsNull
()
{
addCriterion
(
"create_by is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIsNotNull
()
{
addCriterion
(
"create_by is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByEqualTo
(
String
value
)
{
addCriterion
(
"create_by ="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotEqualTo
(
String
value
)
{
addCriterion
(
"create_by <>"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByGreaterThan
(
String
value
)
{
addCriterion
(
"create_by >"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"create_by >="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByLessThan
(
String
value
)
{
addCriterion
(
"create_by <"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"create_by <="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByLike
(
String
value
)
{
addCriterion
(
"create_by like"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotLike
(
String
value
)
{
addCriterion
(
"create_by not like"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIn
(
List
<
String
>
values
)
{
addCriterion
(
"create_by in"
,
values
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"create_by not in"
,
values
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"create_by between"
,
value1
,
value2
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"create_by not between"
,
value1
,
value2
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseCrCodeIsNull
()
{
addCriterion
(
"base_cr_code is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseCrCodeIsNotNull
()
{
addCriterion
(
"base_cr_code is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseCrCodeEqualTo
(
String
value
)
{
addCriterion
(
"base_cr_code ="
,
value
,
"baseCrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseCrCodeNotEqualTo
(
String
value
)
{
addCriterion
(
"base_cr_code <>"
,
value
,
"baseCrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseCrCodeGreaterThan
(
String
value
)
{
addCriterion
(
"base_cr_code >"
,
value
,
"baseCrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseCrCodeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"base_cr_code >="
,
value
,
"baseCrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseCrCodeLessThan
(
String
value
)
{
addCriterion
(
"base_cr_code <"
,
value
,
"baseCrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseCrCodeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"base_cr_code <="
,
value
,
"baseCrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseCrCodeLike
(
String
value
)
{
addCriterion
(
"base_cr_code like"
,
value
,
"baseCrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseCrCodeNotLike
(
String
value
)
{
addCriterion
(
"base_cr_code not like"
,
value
,
"baseCrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseCrCodeIn
(
List
<
String
>
values
)
{
addCriterion
(
"base_cr_code in"
,
values
,
"baseCrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseCrCodeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"base_cr_code not in"
,
values
,
"baseCrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseCrCodeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"base_cr_code between"
,
value1
,
value2
,
"baseCrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseCrCodeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"base_cr_code not between"
,
value1
,
value2
,
"baseCrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseDrCodeIsNull
()
{
addCriterion
(
"base_dr_code is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseDrCodeIsNotNull
()
{
addCriterion
(
"base_dr_code is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseDrCodeEqualTo
(
String
value
)
{
addCriterion
(
"base_dr_code ="
,
value
,
"baseDrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseDrCodeNotEqualTo
(
String
value
)
{
addCriterion
(
"base_dr_code <>"
,
value
,
"baseDrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseDrCodeGreaterThan
(
String
value
)
{
addCriterion
(
"base_dr_code >"
,
value
,
"baseDrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseDrCodeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"base_dr_code >="
,
value
,
"baseDrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseDrCodeLessThan
(
String
value
)
{
addCriterion
(
"base_dr_code <"
,
value
,
"baseDrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseDrCodeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"base_dr_code <="
,
value
,
"baseDrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseDrCodeLike
(
String
value
)
{
addCriterion
(
"base_dr_code like"
,
value
,
"baseDrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseDrCodeNotLike
(
String
value
)
{
addCriterion
(
"base_dr_code not like"
,
value
,
"baseDrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseDrCodeIn
(
List
<
String
>
values
)
{
addCriterion
(
"base_dr_code in"
,
values
,
"baseDrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseDrCodeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"base_dr_code not in"
,
values
,
"baseDrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseDrCodeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"base_dr_code between"
,
value1
,
value2
,
"baseDrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBaseDrCodeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"base_dr_code not between"
,
value1
,
value2
,
"baseDrCode"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table revenue_config
*
* @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 revenue_config
*
* @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
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/RevenueConfigMapper.xml
0 → 100644
View file @
f6e95b16
<?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.RevenueConfigMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.vat.entity.RevenueConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<result
column=
"serial_no"
jdbcType=
"VARCHAR"
property=
"serialNo"
/>
<result
column=
"name"
jdbcType=
"VARCHAR"
property=
"name"
/>
<result
column=
"org_id"
jdbcType=
"VARCHAR"
property=
"orgId"
/>
<result
column=
"account_type"
jdbcType=
"TINYINT"
property=
"accountType"
/>
<result
column=
"account_name"
jdbcType=
"VARCHAR"
property=
"accountName"
/>
<result
column=
"tax_rate"
jdbcType=
"DECIMAL"
property=
"taxRate"
/>
<result
column=
"tax_base"
jdbcType=
"TINYINT"
property=
"taxBase"
/>
<result
column=
"revenue_type"
jdbcType=
"TINYINT"
property=
"revenueType"
/>
<result
column=
"tax_type"
jdbcType=
"TINYINT"
property=
"taxType"
/>
<result
column=
"status"
jdbcType=
"TINYINT"
property=
"status"
/>
<result
column=
"start_date"
jdbcType=
"VARCHAR"
property=
"startDate"
/>
<result
column=
"end_date"
jdbcType=
"VARCHAR"
property=
"endDate"
/>
<result
column=
"tb_segment3"
jdbcType=
"VARCHAR"
property=
"tbSegment3"
/>
<result
column=
"tb_segment5"
jdbcType=
"VARCHAR"
property=
"tbSegment5"
/>
<result
column=
"tb_segment6"
jdbcType=
"VARCHAR"
property=
"tbSegment6"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"update_by"
jdbcType=
"VARCHAR"
property=
"updateBy"
/>
<result
column=
"create_by"
jdbcType=
"VARCHAR"
property=
"createBy"
/>
<result
column=
"base_cr_code"
jdbcType=
"VARCHAR"
property=
"baseCrCode"
/>
<result
column=
"base_dr_code"
jdbcType=
"VARCHAR"
property=
"baseDrCode"
/>
</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, serial_no, `name`, org_id, account_type, account_name, tax_rate, tax_base, revenue_type,
tax_type, `status`, start_date, end_date, tb_segment3, tb_segment5, tb_segment6,
update_time, create_time, update_by, create_by, base_cr_code, base_dr_code
</sql>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.RevenueConfigExample"
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 revenue_config
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include
refid=
"Base_Column_List"
/>
from revenue_config
where id = #{id,jdbcType=BIGINT}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from revenue_config
where id = #{id,jdbcType=BIGINT}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.RevenueConfigExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from revenue_config
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.vat.entity.RevenueConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into revenue_config (id, serial_no, `name`,
org_id, account_type, account_name,
tax_rate, tax_base, revenue_type,
tax_type, `status`, start_date,
end_date, tb_segment3, tb_segment5,
tb_segment6, update_time, create_time,
update_by, create_by, base_cr_code,
base_dr_code)
values (#{id,jdbcType=BIGINT}, #{serialNo,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
#{orgId,jdbcType=VARCHAR}, #{accountType,jdbcType=TINYINT}, #{accountName,jdbcType=VARCHAR},
#{taxRate,jdbcType=DECIMAL}, #{taxBase,jdbcType=TINYINT}, #{revenueType,jdbcType=TINYINT},
#{taxType,jdbcType=TINYINT}, #{status,jdbcType=TINYINT}, #{startDate,jdbcType=VARCHAR},
#{endDate,jdbcType=VARCHAR}, #{tbSegment3,jdbcType=VARCHAR}, #{tbSegment5,jdbcType=VARCHAR},
#{tbSegment6,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{baseCrCode,jdbcType=VARCHAR},
#{baseDrCode,jdbcType=VARCHAR})
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.vat.entity.RevenueConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into revenue_config
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"serialNo != null"
>
serial_no,
</if>
<if
test=
"name != null"
>
`name`,
</if>
<if
test=
"orgId != null"
>
org_id,
</if>
<if
test=
"accountType != null"
>
account_type,
</if>
<if
test=
"accountName != null"
>
account_name,
</if>
<if
test=
"taxRate != null"
>
tax_rate,
</if>
<if
test=
"taxBase != null"
>
tax_base,
</if>
<if
test=
"revenueType != null"
>
revenue_type,
</if>
<if
test=
"taxType != null"
>
tax_type,
</if>
<if
test=
"status != null"
>
`status`,
</if>
<if
test=
"startDate != null"
>
start_date,
</if>
<if
test=
"endDate != null"
>
end_date,
</if>
<if
test=
"tbSegment3 != null"
>
tb_segment3,
</if>
<if
test=
"tbSegment5 != null"
>
tb_segment5,
</if>
<if
test=
"tbSegment6 != null"
>
tb_segment6,
</if>
<if
test=
"updateTime != null"
>
update_time,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"updateBy != null"
>
update_by,
</if>
<if
test=
"createBy != null"
>
create_by,
</if>
<if
test=
"baseCrCode != null"
>
base_cr_code,
</if>
<if
test=
"baseDrCode != null"
>
base_dr_code,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=BIGINT},
</if>
<if
test=
"serialNo != null"
>
#{serialNo,jdbcType=VARCHAR},
</if>
<if
test=
"name != null"
>
#{name,jdbcType=VARCHAR},
</if>
<if
test=
"orgId != null"
>
#{orgId,jdbcType=VARCHAR},
</if>
<if
test=
"accountType != null"
>
#{accountType,jdbcType=TINYINT},
</if>
<if
test=
"accountName != null"
>
#{accountName,jdbcType=VARCHAR},
</if>
<if
test=
"taxRate != null"
>
#{taxRate,jdbcType=DECIMAL},
</if>
<if
test=
"taxBase != null"
>
#{taxBase,jdbcType=TINYINT},
</if>
<if
test=
"revenueType != null"
>
#{revenueType,jdbcType=TINYINT},
</if>
<if
test=
"taxType != null"
>
#{taxType,jdbcType=TINYINT},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=TINYINT},
</if>
<if
test=
"startDate != null"
>
#{startDate,jdbcType=VARCHAR},
</if>
<if
test=
"endDate != null"
>
#{endDate,jdbcType=VARCHAR},
</if>
<if
test=
"tbSegment3 != null"
>
#{tbSegment3,jdbcType=VARCHAR},
</if>
<if
test=
"tbSegment5 != null"
>
#{tbSegment5,jdbcType=VARCHAR},
</if>
<if
test=
"tbSegment6 != null"
>
#{tbSegment6,jdbcType=VARCHAR},
</if>
<if
test=
"updateTime != null"
>
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateBy != null"
>
#{updateBy,jdbcType=VARCHAR},
</if>
<if
test=
"createBy != null"
>
#{createBy,jdbcType=VARCHAR},
</if>
<if
test=
"baseCrCode != null"
>
#{baseCrCode,jdbcType=VARCHAR},
</if>
<if
test=
"baseDrCode != null"
>
#{baseDrCode,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.RevenueConfigExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from revenue_config
<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 revenue_config
<set>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=BIGINT},
</if>
<if
test=
"record.serialNo != null"
>
serial_no = #{record.serialNo,jdbcType=VARCHAR},
</if>
<if
test=
"record.name != null"
>
`name` = #{record.name,jdbcType=VARCHAR},
</if>
<if
test=
"record.orgId != null"
>
org_id = #{record.orgId,jdbcType=VARCHAR},
</if>
<if
test=
"record.accountType != null"
>
account_type = #{record.accountType,jdbcType=TINYINT},
</if>
<if
test=
"record.accountName != null"
>
account_name = #{record.accountName,jdbcType=VARCHAR},
</if>
<if
test=
"record.taxRate != null"
>
tax_rate = #{record.taxRate,jdbcType=DECIMAL},
</if>
<if
test=
"record.taxBase != null"
>
tax_base = #{record.taxBase,jdbcType=TINYINT},
</if>
<if
test=
"record.revenueType != null"
>
revenue_type = #{record.revenueType,jdbcType=TINYINT},
</if>
<if
test=
"record.taxType != null"
>
tax_type = #{record.taxType,jdbcType=TINYINT},
</if>
<if
test=
"record.status != null"
>
`status` = #{record.status,jdbcType=TINYINT},
</if>
<if
test=
"record.startDate != null"
>
start_date = #{record.startDate,jdbcType=VARCHAR},
</if>
<if
test=
"record.endDate != null"
>
end_date = #{record.endDate,jdbcType=VARCHAR},
</if>
<if
test=
"record.tbSegment3 != null"
>
tb_segment3 = #{record.tbSegment3,jdbcType=VARCHAR},
</if>
<if
test=
"record.tbSegment5 != null"
>
tb_segment5 = #{record.tbSegment5,jdbcType=VARCHAR},
</if>
<if
test=
"record.tbSegment6 != null"
>
tb_segment6 = #{record.tbSegment6,jdbcType=VARCHAR},
</if>
<if
test=
"record.updateTime != null"
>
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.createTime != null"
>
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.updateBy != null"
>
update_by = #{record.updateBy,jdbcType=VARCHAR},
</if>
<if
test=
"record.createBy != null"
>
create_by = #{record.createBy,jdbcType=VARCHAR},
</if>
<if
test=
"record.baseCrCode != null"
>
base_cr_code = #{record.baseCrCode,jdbcType=VARCHAR},
</if>
<if
test=
"record.baseDrCode != null"
>
base_dr_code = #{record.baseDrCode,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 revenue_config
set id = #{record.id,jdbcType=BIGINT},
serial_no = #{record.serialNo,jdbcType=VARCHAR},
`name` = #{record.name,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=VARCHAR},
account_type = #{record.accountType,jdbcType=TINYINT},
account_name = #{record.accountName,jdbcType=VARCHAR},
tax_rate = #{record.taxRate,jdbcType=DECIMAL},
tax_base = #{record.taxBase,jdbcType=TINYINT},
revenue_type = #{record.revenueType,jdbcType=TINYINT},
tax_type = #{record.taxType,jdbcType=TINYINT},
`status` = #{record.status,jdbcType=TINYINT},
start_date = #{record.startDate,jdbcType=VARCHAR},
end_date = #{record.endDate,jdbcType=VARCHAR},
tb_segment3 = #{record.tbSegment3,jdbcType=VARCHAR},
tb_segment5 = #{record.tbSegment5,jdbcType=VARCHAR},
tb_segment6 = #{record.tbSegment6,jdbcType=VARCHAR},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_by = #{record.updateBy,jdbcType=VARCHAR},
create_by = #{record.createBy,jdbcType=VARCHAR},
base_cr_code = #{record.baseCrCode,jdbcType=VARCHAR},
base_dr_code = #{record.baseDrCode,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.vat.entity.RevenueConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update revenue_config
<set>
<if
test=
"serialNo != null"
>
serial_no = #{serialNo,jdbcType=VARCHAR},
</if>
<if
test=
"name != null"
>
`name` = #{name,jdbcType=VARCHAR},
</if>
<if
test=
"orgId != null"
>
org_id = #{orgId,jdbcType=VARCHAR},
</if>
<if
test=
"accountType != null"
>
account_type = #{accountType,jdbcType=TINYINT},
</if>
<if
test=
"accountName != null"
>
account_name = #{accountName,jdbcType=VARCHAR},
</if>
<if
test=
"taxRate != null"
>
tax_rate = #{taxRate,jdbcType=DECIMAL},
</if>
<if
test=
"taxBase != null"
>
tax_base = #{taxBase,jdbcType=TINYINT},
</if>
<if
test=
"revenueType != null"
>
revenue_type = #{revenueType,jdbcType=TINYINT},
</if>
<if
test=
"taxType != null"
>
tax_type = #{taxType,jdbcType=TINYINT},
</if>
<if
test=
"status != null"
>
`status` = #{status,jdbcType=TINYINT},
</if>
<if
test=
"startDate != null"
>
start_date = #{startDate,jdbcType=VARCHAR},
</if>
<if
test=
"endDate != null"
>
end_date = #{endDate,jdbcType=VARCHAR},
</if>
<if
test=
"tbSegment3 != null"
>
tb_segment3 = #{tbSegment3,jdbcType=VARCHAR},
</if>
<if
test=
"tbSegment5 != null"
>
tb_segment5 = #{tbSegment5,jdbcType=VARCHAR},
</if>
<if
test=
"tbSegment6 != null"
>
tb_segment6 = #{tbSegment6,jdbcType=VARCHAR},
</if>
<if
test=
"updateTime != null"
>
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateBy != null"
>
update_by = #{updateBy,jdbcType=VARCHAR},
</if>
<if
test=
"createBy != null"
>
create_by = #{createBy,jdbcType=VARCHAR},
</if>
<if
test=
"baseCrCode != null"
>
base_cr_code = #{baseCrCode,jdbcType=VARCHAR},
</if>
<if
test=
"baseDrCode != null"
>
base_dr_code = #{baseDrCode,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.vat.entity.RevenueConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update revenue_config
set serial_no = #{serialNo,jdbcType=VARCHAR},
`name` = #{name,jdbcType=VARCHAR},
org_id = #{orgId,jdbcType=VARCHAR},
account_type = #{accountType,jdbcType=TINYINT},
account_name = #{accountName,jdbcType=VARCHAR},
tax_rate = #{taxRate,jdbcType=DECIMAL},
tax_base = #{taxBase,jdbcType=TINYINT},
revenue_type = #{revenueType,jdbcType=TINYINT},
tax_type = #{taxType,jdbcType=TINYINT},
`status` = #{status,jdbcType=TINYINT},
start_date = #{startDate,jdbcType=VARCHAR},
end_date = #{endDate,jdbcType=VARCHAR},
tb_segment3 = #{tbSegment3,jdbcType=VARCHAR},
tb_segment5 = #{tbSegment5,jdbcType=VARCHAR},
tb_segment6 = #{tbSegment6,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
base_cr_code = #{baseCrCode,jdbcType=VARCHAR},
base_dr_code = #{baseDrCode,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.vat.entity.RevenueConfigExample"
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 revenue_config
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
</mapper>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment